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