diff options
author | Hiltjo Posthuma | 2022-10-31 11:43:34 +0100 |
---|---|---|
committer | Hiltjo Posthuma | 2022-10-31 11:46:10 +0100 |
commit | bcbc1ef5c4cf4875a4d66e7dc0919da88a6096a5 (patch) | |
tree | 91c59c049a8bd4ad71079bc26566a97527d41170 | |
parent | 689d9bfcf6859e5ce85c296ff0f23b5c08b1fedc (diff) |
readstdin: add a comment
Maybe too obvious / redundant, but OK.
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |