mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
9a16485900
SVN-Revision: 16053
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. */
|