From: Felix Fietkau Date: Sat, 29 Aug 2009 16:35:54 +0000 (+0200) Subject: ucimap: free memory allocated for fixups X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ec7b1de53e16991b071c892fac149b4bfe73c539;p=uci.git ucimap: free memory allocated for fixups --- diff --git a/ucimap.c b/ucimap.c index c347b24..c2d78f0 100644 --- a/ucimap.c +++ b/ucimap.c @@ -509,6 +509,7 @@ ucimap_parse(struct uci_map *map, struct uci_package *pkg) list->item[list->n_items++].section = ptr; break; } + free(f); } list_for_each_safe(p, tmp, &map->sdata) { struct uci_sectmap_data *sd = list_entry(p, struct uci_sectmap_data, list);