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