]> git.ipfire.org Git - thirdparty/coreutils.git/commit
split: plug nominal leaks
authorJim Meyering <meyering@redhat.com>
Thu, 2 Aug 2012 17:31:36 +0000 (19:31 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 4 Aug 2012 09:32:01 +0000 (11:32 +0200)
commit4abec7ef9a3e162098b6b4c1e19a8235023130d4
treeb76566ad8054ad43f5570648b270e8b3447ba1b6
parente11a2cf3198bcec9a5e10205bf3ebe66dc7edc59
split: plug nominal leaks

* src/split.c (lines_rr) [IF_LINT]: Plug a harmless leak.
(main) [IF_LINT]: Free a usually-small (~70KB) buffer
just before exit, mainly to take this off the radar of
leak-detecting tools.

Improved-by: Pádraig Brady.
src/split.c