X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=ucimap.c;h=7c4fb0240790aeb6c2386aa8c7deed8824bfda6d;hp=9853e7e89fb337207cd122d486da68ce1c912722;hb=25f9dbfe7bba18ac6c9b2f31e55c19be57f4eee0;hpb=fcb93b2ca79dbddd7a8754f65d72b78c4d6c13b5;ds=sidebyside diff --git a/ucimap.c b/ucimap.c index 9853e7e..7c4fb02 100644 --- a/ucimap.c +++ b/ucimap.c @@ -884,6 +884,7 @@ ucimap_parse(struct uci_map *map, struct uci_package *pkg) } else { sd = malloc(sm->alloc_len); memset(sd, 0, sm->alloc_len); + sd = ucimap_ptr_section(sm, sd); } if (!sd) continue;