aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/packet_list.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-10-08 15:12:45 +0000
committerEvan Huus <eapache@gmail.com>2012-10-08 15:12:45 +0000
commit92c3bc0228b40742c079a03b41f2b25d3e8591d6 (patch)
treef5cce9e6c9c9a76fed70c306f0ce423ccd6db2b2 /ui/gtk/packet_list.c
parent2c181db864e397194a51aff1e7f520264bb30be5 (diff)
Don't leak all of our column data in packet_list_recreate (I think we still leak
some of it?). Maybe part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7775 svn path=/trunk/; revision=45388
Diffstat (limited to 'ui/gtk/packet_list.c')
-rw-r--r--ui/gtk/packet_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/packet_list.c b/ui/gtk/packet_list.c
index c2ac868a75..cc69291010 100644
--- a/ui/gtk/packet_list.c
+++ b/ui/gtk/packet_list.c
@@ -130,6 +130,7 @@ packet_list_recreate(void)
prefs.num_cols = g_list_length(prefs.col_list);
+ col_cleanup(&cfile.cinfo);
build_column_format_array(&cfile.cinfo, prefs.num_cols, FALSE);
pkt_scrollw = packet_list_create();