Skip to contentSkip to conversation

opkg: add missing initialization of conf->exclude_list

PATCH New Jonathan Liu 1 participant 1 message Aug 23, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opkg: add missing initialization of conf->exclude_list

---
 meta/recipes-devtools/opkg/opkg/add-exclude.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
meta/recipes-devtools/opkg/opkg/add-exclude.patch +13 -0
index 34e2bb4..8489058 100644
@@ -10,7 +10,20 @@ so there is no need to free the data.
 Upstream-Status: Pending
 
 Signed-off-by: Mark Hatle <[email protected]>
+Signed-off-by: Jonathan Liu <[email protected]>
 
+Index: trunk/libopkg/opkg_conf.c
+===================================================================
+--- trunk.orig/libopkg/opkg_conf.c
++++ trunk/libopkg/opkg_conf.c
+@@ -442,6 +442,7 @@ opkg_conf_init(void)
+ 	pkg_dest_list_init(&conf->pkg_dest_list);
+ 	pkg_dest_list_init(&conf->tmp_dest_list);
+ 	nv_pair_list_init(&conf->arch_list);
++	conf->exclude_list = NULL;
+ 
+ 	return 0;
+ }
 Index: trunk/libopkg/opkg_conf.h
 ===================================================================
 --- trunk.orig/libopkg/opkg_conf.h
Signature · 1 line
1.8.3.4