diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-01-03 17:07:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-01-03 17:07:55 +0000 |
commit | f002d13e3c3a7f9d8ab205091e991cf4b565dad4 (patch) | |
tree | 7e62412ef3dd009fb6b92b2fd65bdeb4e0ac1ea1 /package | |
parent | ea8a6fd24cffe7e66d6ea8b3a990346e3274fb5d (diff) | |
download | upstream-f002d13e3c3a7f9d8ab205091e991cf4b565dad4.tar.gz upstream-f002d13e3c3a7f9d8ab205091e991cf4b565dad4.tar.bz2 upstream-f002d13e3c3a7f9d8ab205091e991cf4b565dad4.zip |
restore old memleak fix
SVN-Revision: 10092
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/patches/522-memleak.patch | 12 |
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 |