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;
return 0;
error_mem:
+ if (sd->alloc_custom)
+ free(sd->alloc_custom);
if (sd->allocmap)
free(sd->allocmap);
free(sd);