aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tap.c')
-rw-r--r--epan/tap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/tap.c b/epan/tap.c
index 4760a3b302..b942383a3c 100644
--- a/epan/tap.c
+++ b/epan/tap.c
@@ -516,9 +516,7 @@ free_tap_listener(volatile tap_listener_t *tl)
{
if(!tl)
return;
- if(tl->code){
- dfilter_free(tl->code);
- }
+ dfilter_free(tl->code);
g_free(tl->fstring);
DIAG_OFF(cast-qual)
g_free((gpointer)tl);