diff options
Diffstat (limited to 'utils/conntrack_delete.c')
-rw-r--r-- | utils/conntrack_delete.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/conntrack_delete.c b/utils/conntrack_delete.c index b3204dd..ae2fc35 100644 --- a/utils/conntrack_delete.c +++ b/utils/conntrack_delete.c @@ -30,6 +30,7 @@ int main(void) h = nfct_open(CONNTRACK, 0); if (!h) { perror("nfct_open"); + nfct_destroy(ct); return -1; } @@ -43,5 +44,7 @@ int main(void) nfct_close(h); + nfct_destroy(ct); + ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS); } |