Thanks to http://code.google.com/u/kosmaty/
Find the issue and fix it.
http://code.google.com/p/opkg/issues/detail?id=13
git-svn-id: http://opkg.googlecode.com/svn/trunk@215
e8e0d7a0-c8d9-11dd-a880-
a1081c7ac358
void str_list_remove(str_list_t *list, str_list_elt_t **iter)
{
- str_list_elt_t * elt = void_list_remove((void_list_t *) list,
+ char *str = void_list_remove((void_list_t *) list,
(void_list_elt_t **) iter);
- str_list_elt_deinit(elt);
+ if (str)
+ free(str);
}
void str_list_remove_elt(str_list_t *list, const char *target_str)