diff options
| author | Jim Meyering <jim@meyering.net> | 2006-11-16 09:16:08 +0100 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2006-11-16 09:16:08 +0100 |
| commit | b6b438c45dbc5dab7b2d62ae464942e6927b1d17 (patch) | |
| tree | bf03a20a37adde07f96a879fbdcd6e2165dfa203 /src/csplit.c | |
| parent | Help valgrind see that there is no leak in dd.c. (diff) | |
| download | coreutils-b6b438c45dbc5dab7b2d62ae464942e6927b1d17.tar.gz coreutils-b6b438c45dbc5dab7b2d62ae464942e6927b1d17.zip | |
* src/csplit.c (load_buffer): Plug an inconsequential leak.
Diffstat (limited to 'src/csplit.c')
| -rw-r--r-- | src/csplit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/csplit.c b/src/csplit.c index e174ee59e..382fd6621 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -526,6 +526,8 @@ load_buffer (void) if (lines_found) save_buffer (b); + else + free (b); return lines_found != 0; } |
