modules: package the leds-wndr3700-usb driver
[openwrt.git] / package / busybox / patches / 430-uniq_memleak.patch
index 51965b5..93f60eb 100644 (file)
@@ -1,6 +1,6 @@
 --- a/coreutils/uniq.c
 +++ b/coreutils/uniq.c
-@@ -82,6 +82,8 @@ int uniq_main(int argc ATTRIBUTE_UNUSED,
+@@ -82,6 +82,8 @@ int uniq_main(int argc UNUSED_PARAM, cha
  
                        if (!s0 || strncmp(e0, e1, max_chars)) {
                                break;
@@ -8,4 +8,4 @@
 +                              free(s1);
                        }
  
-                       ++dups;  /* note: testing for overflow seems excessive. */
+                       free((char*)s1);
This page took 0.020325 seconds and 4 git commands to generate.