Re-apply r40728 and fix Coverity CID 1371 UNINIT again.
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 27 Feb 2012 00:25:41 +0000 (00:25 +0000)
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 27 Feb 2012 00:25:41 +0000 (00:25 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41199 f5534014-38df-0310-8fa8-9805f1628bb7

ui/gtk/capture_dlg.c

index 767cc7d..73d9367 100644 (file)
@@ -1881,7 +1881,7 @@ void options_interface_cb(GtkTreeView *view, GtkTreePath *path, GtkTreeViewColum
   gboolean      found = FALSE;
   gint          num_supported_link_types;
   guint         i;
-  gchar         *tok, *name;
+  gchar         *tok, *name = NULL;
   GtkCellRenderer *renderer;
   GtkListStore    *store;