Wireshark-dev: Re: [Wireshark-dev] New packet list - small fixes

From: Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx>
Date: Sun, 12 Jul 2009 13:40:07 +0200
On Sun, Jul 12, 2009 at 11:08:59AM +0200, Anders Broman wrote:
> Checked in

Thanks :)

> together with some changes towards only storing the actually
> used columns.

It crash at startup (newrecord->col_text[] not allocated),
in attachment fix to restore old newrecord->col_text.

Cheers.
diff --git gtk/packet_list_store.h gtk/packet_list_store.h
index 3262ac6..cfd8583 100644
--- gtk/packet_list_store.h
+++ gtk/packet_list_store.h
@@ -53,7 +53,7 @@ struct _PacketListRecord
 
 {
 	frame_data *fdata;
-	gchar **col_text;
+	gchar *col_text[NUM_COL_FMTS];
 
 	/* admin stuff used by the custom list model */
 	guint pos; /* position within the array */