From: nbd Date: Sun, 6 Jan 2008 01:03:53 +0000 (+0000) Subject: remove memleak patch because of issues with premature freeing of memory - i will... X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/8785e41158918c4bd966e7f43947865e462cabf7 remove memleak patch because of issues with premature freeing of memory - i will try to reduce the memory usage in a different way git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10122 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/busybox/patches/522-memleak.patch b/package/busybox/patches/522-memleak.patch deleted file mode 100644 index 1bcfb8f40..000000000 --- a/package/busybox/patches/522-memleak.patch +++ /dev/null @@ -1,24 +0,0 @@ -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 -+++ busybox-1.8.2/archival/libipkg/pkg.c 2007-12-30 00:27:34.426057709 +0100 -@@ -1668,6 +1668,7 @@ - // ipkg_message(conf, IPKG_DEBUG2, "pkg %s: file=%s\n", pkg->name, installed_file); - file_hash_set_file_owner(conf, installed_file, pkg); - } -+ pkg_free_installed_files(pkg); - } - pkg_vec_free(installed_pkgs); -