From ec7b1de53e16991b071c892fac149b4bfe73c539 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 29 Aug 2009 18:35:54 +0200 Subject: [PATCH] ucimap: free memory allocated for fixups --- ucimap.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.11.0