Make use of the new garbage-collection routines when closing a file.

svn path=/trunk/; revision=47550
This commit is contained in:
Evan Huus 2013-02-08 01:58:04 +00:00
parent 63313f0c70
commit 9fcb518818
1 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,10 @@ wmem_leave_file_scope(void)
wmem_free_all(file_scope);
in_file_scope = FALSE;
/* this seems like a good time to do garbage collection */
wmem_gc(file_scope);
wmem_gc(packet_scope);
}
/* Epan Scope */