mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 14:24:03 +02:00
396dbf68b1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16053 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
263 B
Diff
12 lines
263 B
Diff
--- a/coreutils/uniq.c
|
|
+++ b/coreutils/uniq.c
|
|
@@ -82,6 +82,8 @@ int uniq_main(int argc UNUSED_PARAM, cha
|
|
|
|
if (!s0 || strncmp(e0, e1, max_chars)) {
|
|
break;
|
|
+ } else {
|
|
+ free(s1);
|
|
}
|
|
|
|
++dups; /* note: testing for overflow seems excessive. */
|