aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfilter-macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dfilter/dfilter-macro.c')
-rw-r--r--epan/dfilter/dfilter-macro.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dfilter/dfilter-macro.c b/epan/dfilter/dfilter-macro.c
index f94970a895..5ff2493489 100644
--- a/epan/dfilter/dfilter-macro.c
+++ b/epan/dfilter/dfilter-macro.c
@@ -412,9 +412,7 @@ done:
m->parts = (gchar **)g_ptr_array_free(parts, FALSE);
g_free(m->args_pos);
- m->args_pos = (int*)(void *)args_pos->data;
-
- g_array_free(args_pos,FALSE);
+ m->args_pos = (int*)(void *)g_array_free(args_pos, FALSE);
m->argc = argc;