aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd_session.c
diff options
context:
space:
mode:
Diffstat (limited to 'sharkd_session.c')
-rw-r--r--sharkd_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sharkd_session.c b/sharkd_session.c
index d4e9aa8656..5add951666 100644
--- a/sharkd_session.c
+++ b/sharkd_session.c
@@ -4099,7 +4099,7 @@ sharkd_session_process_check(char *buf, const jsmntok_t *tokens, int count)
sharkd_json_simple_ok(rpcid);
dfilter_free(dfp);
- dfilter_error_free(df_err);
+ df_error_free(&df_err);
return 0;
}
else
@@ -4108,7 +4108,7 @@ sharkd_session_process_check(char *buf, const jsmntok_t *tokens, int count)
rpcid, -5001, NULL,
"Filter invalid - %s", df_err->msg
);
- dfilter_error_free(df_err);
+ df_error_free(&df_err);
return -5001;
}
}