diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-10-31 11:43:34 +0100 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2022-11-01 15:06:44 +0000 |
commit | 834ced0f1454eedc18e17b459f7496e00c1b4284 (patch) | |
tree | 8f736645025a2451bc07be5e08e13606b79bce40 | |
parent | 5cab1030790feede7052f650eee8ee90ed0a9e7e (diff) |
readstdin: add a comment
Maybe too obvious / redundant, but OK.
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -573,7 +573,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) |