]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: fix an inconsequential memory leak in join
authorPádraig Brady <P@draigBrady.com>
Wed, 27 Jan 2010 02:17:36 +0000 (02:17 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 1 Feb 2010 13:52:58 +0000 (13:52 +0000)
commit86914603b58b666e4c0f8442ba46e89190f381e2
tree7c3af5c72b35a32866f43a8d151a073b43fdfbc5
parent6e8f368e079cd7ae830c1bf64f82db4ea7d00397
maint: fix an inconsequential memory leak in join

* src/join.c (join): Refactor the code that checks for misorder
at the tail of the files.  The most significant change here is
that freeline() is called thus silencing a valgrind warning about
a definite but inconsequential memory leak.
(freeline): Make more general by doing nothing when passed NULL,
and setting freed pointers to NULL.
src/join.c