1
0
Fork 0

readstdin: add a comment

Maybe too obvious / redundant, but OK.
This commit is contained in:
Hiltjo Posthuma 2022-10-31 11:43:34 +01:00
parent 689d9bfcf6
commit bcbc1ef5c4

View file

@ -562,7 +562,7 @@ readstdin(void)
line[len - 1] = '\0'; line[len - 1] = '\0';
items[i].text = line; items[i].text = line;
items[i].out = 0; items[i].out = 0;
line = NULL; line = NULL; /* next call of getline() allocates a new line */
} }
free(line); free(line);
if (items) if (items)