summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-07 18:41:33 +0200
committerJim Meyering <meyering@redhat.com>2007-10-07 18:41:49 +0200
commit11d4de7eb30987cee6c142f855c63d56490b4845 (patch)
tree1bb64e7c2f7879e68dd679daa35bd9e6a60e0c44 /src
parentabdb73fc1139e5e6c74e67be417e9a6714d3ec53 (diff)
downloadcoreutils-11d4de7eb30987cee6c142f855c63d56490b4845.tar.xz
Avoid a pseudo-leak in sort.
* src/sort.c (main) [lint]: Avoid a nominal leak.
Diffstat (limited to 'src')
-rw-r--r--src/sort.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sort.c b/src/sort.c
index 620a4bc7c..1183fc5cc 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -3165,6 +3165,7 @@ main (int argc, char **argv)
sortfiles[i].name = files[i];
merge (sortfiles, 0, nfiles, outfile);
+ IF_LINT (free (sortfiles));
}
else
sort (files, nfiles, outfile);