summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d0ed9c0..87f1ae3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -88,6 +88,9 @@ int nfct_close(struct nfct_handle *cth)
/* required by the new API */
cth->cb = NULL;
+ cth->cb2 = NULL;
+ cth->expect_cb = NULL;
+ cth->expect_cb2 = NULL;
free(cth->nfnl_cb.data);
cth->nfnl_cb.call = NULL;