diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libnftables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libnftables.c b/src/libnftables.c index 0d04ec21..dc6a5fdf 100644 --- a/src/libnftables.c +++ b/src/libnftables.c @@ -290,6 +290,7 @@ int nft_run_cmd_from_buffer(struct nft_ctx *nft, char *buf, size_t buflen) erec_print_list(&nft->output, &msgs, nft->debug_mask); nft_ctx_set_output(nft, fp); scanner_destroy(scanner); + iface_cache_release(); return rc; } @@ -322,6 +323,7 @@ err: erec_print_list(&nft->output, &msgs, nft->debug_mask); nft_ctx_set_output(nft, fp); scanner_destroy(scanner); + iface_cache_release(); return rc; } |