diff options
author | Anders Broman <anders.broman@ericsson.com> | 2007-11-09 05:54:16 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2007-11-09 05:54:16 +0000 |
commit | 377793fc541bb98466223f9cfa90b97769d7b976 (patch) | |
tree | c6287cb0d4e61658c72d305269d8ce745ca88453 /epan | |
parent | eae32f15ebb7a620a3301b29e2d0e964c94197da (diff) |
Apply yet another set of the optimization patches:
small memory leak when freeing compiled filter insns.
svn path=/trunk/; revision=23408
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dfilter/dfilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dfilter/dfilter.c b/epan/dfilter/dfilter.c index e0ac2a194f..d6cf5679a0 100644 --- a/epan/dfilter/dfilter.c +++ b/epan/dfilter/dfilter.c @@ -131,6 +131,7 @@ free_insns(GPtrArray *insns) insn = g_ptr_array_index(insns, i); dfvm_insn_free(insn); } + g_ptr_array_free(insns, TRUE); } void |