diff options
Diffstat (limited to 'src/stdlib/paths.c')
| -rw-r--r-- | src/stdlib/paths.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/paths.c b/src/stdlib/paths.c index 73f62975..810f98b1 100644 --- a/src/stdlib/paths.c +++ b/src/stdlib/paths.c @@ -662,6 +662,7 @@ static Text_t _next_line(FILE **f) { next_line:; ssize_t len = getline(&line, &size, *f); if (len <= 0) { + if (line != NULL) free(line); _line_reader_cleanup(f); return NONE_TEXT; } |
