X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=libuci.c;fp=libuci.c;h=1cfe4ec87e6cd2aafe79f0e95f7c4c033d878dfd;hp=5872ae4220a8fff2810a68aa7e83b9a97a329396;hb=a7b730e73b1714c7522283924174340877228748;hpb=672d68a8765c242dd939a31b520acbe1c9c1d7c2 diff --git a/libuci.c b/libuci.c index 5872ae4..1cfe4ec 100644 --- a/libuci.c +++ b/libuci.c @@ -85,8 +85,8 @@ void uci_free_context(struct uci_context *ctx) uci_foreach_element_safe(&ctx->history_path, tmp, e) { uci_free_element(e); } - free(ctx); UCI_TRAP_RESTORE(ctx); + free(ctx); ignore: return;