projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea8a6fd
)
restore old memleak fix
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2008 17:07:55 +0000
(17:07 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2008 17:07:55 +0000
(17:07 +0000)
SVN-Revision: 10092
package/busybox/patches/522-memleak.patch
patch
|
blob
|
history
diff --git
a/package/busybox/patches/522-memleak.patch
b/package/busybox/patches/522-memleak.patch
index ab639c59bf27e0d01912cbf6a3cc2f9b88784065..1bcfb8f408a1da568e6fc8054a0469e645568464 100644
(file)
--- 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
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