diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-21 15:14:30 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-21 15:17:06 +0200 |
commit | d068b9f9d7adcc43264fb1931256536aa89a980d (patch) | |
tree | 830b6848826ea9c88065c2f76bab35daa672190c /ucimap.c | |
parent | 5077cdcee2b3b54e7e87596a98a77bac246bbaae (diff) | |
download | uci-d068b9f9d7adcc43264fb1931256536aa89a980d.tar.gz |
ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev)
Diffstat (limited to 'ucimap.c')
-rw-r--r-- | ucimap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -314,6 +314,7 @@ ucimap_add_fixup(struct ucimap_section_data *sd, union ucimap_data *data, struct struct ucimap_fixup *f, tmp; struct uci_map *map = sd->map; + tmp.next = NULL; tmp.sm = om->data.sm; tmp.name = str; tmp.type = om->type; |