diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-18 21:48:57 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-18 21:48:57 +0200 |
commit | a7b730e73b1714c7522283924174340877228748 (patch) | |
tree | ab7a7d5340d012b37f7924ea7f876833e5acf787 | |
parent | 672d68a8765c242dd939a31b520acbe1c9c1d7c2 (diff) | |
download | uci-a7b730e73b1714c7522283924174340877228748.tar.gz |
fix use-after-free
-rw-r--r-- | libuci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |