aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-03 17:07:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-03 17:07:55 +0000
commita098583202a1cfbd5eec5fdf549d1e122a0b143c (patch)
tree653f659df91f7a5f55905c1facd40d54457afc99 /package/busybox/patches
parentdefeda1ced332f25649431b0031952f1c30905d5 (diff)
downloadupstream-a098583202a1cfbd5eec5fdf549d1e122a0b143c.tar.gz
upstream-a098583202a1cfbd5eec5fdf549d1e122a0b143c.tar.bz2
upstream-a098583202a1cfbd5eec5fdf549d1e122a0b143c.zip
restore old memleak fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10092 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches')
-rw-r--r--package/busybox/patches/522-memleak.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/522-memleak.patch b/package/busybox/patches/522-memleak.patch
index ab639c59bf..1bcfb8f408 100644
--- a/package/busybox/patches/522-memleak.patch
+++ b/package/busybox/patches/522-memleak.patch
@@ -1,3 +1,15 @@
+Index: busybox-1.8.2/archival/libipkg/ipkg_install.c
+===================================================================
+--- busybox-1.8.2.orig/archival/libipkg/ipkg_install.c 2007-12-30 00:02:53.577161007 +0100
++++ busybox-1.8.2/archival/libipkg/ipkg_install.c 2007-12-30 00:03:14.042327251 +0100
+@@ -500,6 +500,7 @@
+ }
+ }
+ }
++ pkg_free_installed_files(new_pkg);
+ return 0;
+ }
+
Index: busybox-1.8.2/archival/libipkg/pkg.c
===================================================================
--- busybox-1.8.2.orig/archival/libipkg/pkg.c 2007-12-30 00:27:32.001919565 +0100