madwifi: improve beacon miss handling to increase the reliability of STA mode links
[openwrt.git] / package / busybox / patches / 430-uniq_memleak.patch
1 Index: busybox-1.7.2/coreutils/uniq.c
2 ===================================================================
3 --- busybox-1.7.2.orig/coreutils/uniq.c 2007-10-30 15:34:59.000000000 -0500
4 +++ busybox-1.7.2/coreutils/uniq.c 2007-10-30 15:35:04.000000000 -0500
5 @@ -83,6 +83,8 @@
6
7 if (!s0 || strcmp(e0, e1)) {
8 break;
9 + } else {
10 + free(s1);
11 }
12
13 ++dups; /* Note: Testing for overflow seems excessive. */
This page took 0.039237 seconds and 5 git commands to generate.