aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-10-03 23:24:48 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-10-03 23:24:48 +0000
commit7a7b422fa93045a875e11dd0a8829754e6208ac9 (patch)
treedb336e5c9326f8a93c5c0d030154488c59acea8b /file.c
parent0da877169b30c9141442d4931d6e2031802ce40c (diff)
fix the memory leak problem mentioned lately by adding and using color_filters_cleanup()
svn path=/trunk/; revision=19422
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index 4bf10ccb53..62522039ef 100644
--- a/file.c
+++ b/file.c
@@ -347,6 +347,8 @@ cf_close(capture_file *cf)
/* close things, if not already closed before */
if(cf->state != FILE_CLOSED) {
+ color_filters_cleanup();
+
cf_reset_state(cf);
cleanup_dissection();