summaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/011-old-config-location.patch
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-21 15:09:08 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-21 15:09:08 +0000
commiteec3ede2572fb86d69a4f1da1dc11ae6d8e46ea7 (patch)
treeefa91ddaef65ffd1a89c980f5aac71392c3561b3 /package/opkg/patches/011-old-config-location.patch
parent94c71fdfb3134025760e91c29fb66f052170e7c8 (diff)
[package] opkg: fix invalid free triggered by 011-old-config-location.patch and replace 012-cleanup-tmpdir.patch with upstream fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18879 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/patches/011-old-config-location.patch')
-rw-r--r--package/opkg/patches/011-old-config-location.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opkg/patches/011-old-config-location.patch b/package/opkg/patches/011-old-config-location.patch
index 40d0b7566..518993b25 100644
--- a/package/opkg/patches/011-old-config-location.patch
+++ b/package/opkg/patches/011-old-config-location.patch
@@ -7,7 +7,7 @@
-
+
+ if(!conf->conf_file)
-+ conf->conf_file = "/etc/opkg.conf";
++ conf->conf_file = xstrdup("/etc/opkg.conf");
+
if (parse_err)
return parse_err;