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
1 changed files with 1 additions and 1 deletions

View File

@ -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)