Skip to content

Commit

Permalink
display/d.mon: fix get list of running monitors (#1902)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Oct 3, 2021
1 parent 8cc7144 commit 18b732a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion display/d.mon/list.c
Expand Up @@ -63,7 +63,7 @@ void list_mon(char ***list, int *n)
continue;

*list = G_realloc(*list, (*n + 1) * sizeof(char *));
(*list)[*n] = dp->d_name;
(*list)[*n] = G_store(dp->d_name);
(*n)++;
}
closedir(dirp);
Expand Down

0 comments on commit 18b732a

Please sign in to comment.