aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index 1343ef290e..9777d4468f 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2584,8 +2584,7 @@ main(int argc, char *argv[])
g_free(global_commandline_info.cf_name);
global_commandline_info.cf_name = NULL;
} else {
- if (rfcode != NULL)
- dfilter_free(rfcode);
+ dfilter_free(rfcode);
cfile.rfcode = NULL;
show_main_window(FALSE);
/* Don't call check_and_warn_user_startup(): we did it above */