mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 02:55:32 +02:00
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
This commit is contained in:
parent
e5ab7e8a44
commit
8785e41158
@ -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);
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user