diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-07 12:15:46 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-07 12:15:46 +0000 |
commit | d2b61c0297f264c9725ae6ab0148682e82b15e63 (patch) | |
tree | 4d291daddd91f416174881383163fe323fdc0290 /file.c | |
parent | 367bcb7abd8a842c4125ecdc45d3015c3206d0c2 (diff) |
Free frame data slice on file reset
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3813
svn path=/trunk/; revision=29322
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -337,6 +337,8 @@ cf_reset_state(capture_file *cf) cf->user_saved = FALSE; #if GLIB_CHECK_VERSION(2,10,0) + if (cf->plist != NULL) + g_slice_free_chain(frame_data, cf->plist, next); #else /* memory chunks have been deprecated in favor of the slice allocator, * which has been added in 2.10 |