Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / gtk / summary_dlg.c
index bb384264072baf184aff3b932a07b67c65dc64da..079862ed9d3340d15d2244aa7bd2fcff1cb2433b 100644 (file)
@@ -97,7 +97,7 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_)
                 *main_vb, *bbox, *close_bt, *help_bt;
   GtkWidget     *table;
   GtkWidget     *list;
-  char          *titles[] = { "Traffic", "Captured", "Displayed" };
+  static const char *titles[] = { "Traffic", "Captured", "Displayed" };
 
   gchar         string_buff[SUM_STR_MAX];
   gchar         string_buff2[SUM_STR_MAX];