commit bcbc1ef5c4cf4875a4d66e7dc0919da88a6096a5 from: Hiltjo Posthuma date: Mon Oct 31 10:46:10 2022 UTC readstdin: add a comment Maybe too obvious / redundant, but OK. commit - 689d9bfcf6859e5ce85c296ff0f23b5c08b1fedc commit + bcbc1ef5c4cf4875a4d66e7dc0919da88a6096a5 blob - e786d7a31ba7ec360e057db1f5321b73073d39e4 blob + 8d96b6ca1e46eaf1f31905a71e7d0eb5d97b5ee2 --- dmenu.c +++ 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)