Added more essential NAS modules for NSLU2, NAS100d and DSMG600RevA profiles
[openwrt.git] / package / busybox / patches / 430-uniq_memleak.patch
1 Index: busybox-1.4.2/coreutils/uniq.c
2 ===================================================================
3 --- busybox-1.4.2.orig/coreutils/uniq.c 2007-06-04 13:21:31.993112976 +0200
4 +++ busybox-1.4.2/coreutils/uniq.c 2007-06-04 13:21:35.960509840 +0200
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.04788 seconds and 5 git commands to generate.