summaryrefslogtreecommitdiff
path: root/coreutils/uniq.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/uniq.c')
-rw-r--r--coreutils/uniq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/uniq.c b/coreutils/uniq.c
index 126eaee..e703659 100644
--- a/coreutils/uniq.c
+++ b/coreutils/uniq.c
@@ -84,6 +84,7 @@ int uniq_main(int argc UNUSED_PARAM, char **argv)
break;
}
+ free((char*)s1);
++dups; /* note: testing for overflow seems excessive. */
}