1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-19 22:10:58 +03:00
openwrt-xburst/package/busybox/patches/522-memleak.patch
nbd 5d9c91b9de fix ipkg segfault and add conffiles patch from #2946
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 02:25:16 +00:00

13 lines
535 B
Diff

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);