aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-08-21 16:38:13 +0000
committerGerald Combs <gerald@wireshark.org>2010-08-21 16:38:13 +0000
commit31e1d6463f39ce7159fca1e792a3358ed844bb87 (patch)
treef0038e4f2d5ce56be973cf75296d849e37c12126
parent45964ddc65447c7af6186db73ad2b54dda7f1bc6 (diff)
Initialize a variable before we try to free it.
svn path=/trunk/; revision=33877
-rw-r--r--gtk/main_welcome.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/main_welcome.c b/gtk/main_welcome.c
index 41516241a0..960bbe543f 100644
--- a/gtk/main_welcome.c
+++ b/gtk/main_welcome.c
@@ -660,7 +660,7 @@ welcome_if_panel_load(void)
if_info_t *if_info;
GList *if_list;
int err;
- gchar *err_str;
+ gchar *err_str = NULL;
int ifs;
GList *curr;
gchar *user_descr;