X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=ucimap.c;h=c2d78f0a856db4e6f8b3187861dc0d3436cd9938;hp=c347b24ae69d6605659aa7364487a7d0736a4121;hb=ec7b1de53e16991b071c892fac149b4bfe73c539;hpb=7af0c0eda078866cc0e61e2f437273809ed27596 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);