summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/run.c b/src/run.c
index b7da18c..34d20b0 100644
--- a/src/run.c
+++ b/src/run.c
@@ -40,7 +40,8 @@ void killer(int foo)
nfct_close(STATE(event));
nfct_close(STATE(request));
- ct_filter_destroy(STATE(us_filter));
+ if (STATE(us_filter))
+ ct_filter_destroy(STATE(us_filter));
local_server_destroy(&STATE(local));
STATE(mode)->kill();