readstdin: add a comment
Maybe too obvious / redundant, but OK.
This commit is contained in:
parent
689d9bfcf6
commit
bcbc1ef5c4
1 changed files with 1 additions and 1 deletions
2
dmenu.c
2
dmenu.c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue