Skip to content

Commit

Permalink
readstdin: add a comment
Browse files Browse the repository at this point in the history
Maybe too obvious / redundant, but OK.
  • Loading branch information
hiltjo committed Oct 31, 2022
1 parent 689d9bf commit bcbc1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ readstdin(void)
line[len - 1] = '\0';
items[i].text = line;
items[i].out = 0;
line = NULL;
line = NULL; /* next call of getline() allocates a new line */
}
free(line);
if (items)
Expand Down

0 comments on commit bcbc1ef

Please sign in to comment.