aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/funnel_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/funnel_stat.c')
-rw-r--r--ui/gtk/funnel_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/funnel_stat.c b/ui/gtk/funnel_stat.c
index 29e36bce8f..d9c3f2fd21 100644
--- a/ui/gtk/funnel_stat.c
+++ b/ui/gtk/funnel_stat.c
@@ -516,7 +516,7 @@ static gboolean funnel_open_file(funnel_ops_id_t *ops_id _U_, const char* fname,
/* This closes the current file if it succeeds. */
if (cf_open(&cfile, fname, WTAP_TYPE_AUTO, FALSE, &err) != CF_OK) {
*err_str = g_strdup(g_strerror(err));
- if (rfcode != NULL) dfilter_free(rfcode);
+ dfilter_free(rfcode);
return FALSE;
}