summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-07-06 20:36:25 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-07-06 19:14:52 +0000
commit032c2619970ad2e140741fbb9224368b34de4b75 (patch)
tree8defe273bd3ef7013a7b32d1ec2df86882520f9a
parent4e9802e67957f96be95f6743ba2338f19ed60d39 (diff)
downloadwireshark-032c2619970ad2e140741fbb9224368b34de4b75.tar.gz
GTK: fix crash when closing Capture Options dialog box on Windows
Introduced in g929afd2 Change-Id: I911994af2a210f00cd099f26e68d1e1f0fea577b Reviewed-on: https://code.wireshark.org/review/2901 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r--ui/gtk/capture_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c
index 832ab4e399..9fb207f7f4 100644
--- a/ui/gtk/capture_dlg.c
+++ b/ui/gtk/capture_dlg.c
@@ -5829,7 +5829,7 @@ capture_prep_destroy_cb(GtkWidget *win _U_, gpointer user_data _U_)
GtkWidget *fs;
#ifdef HAVE_PCAP_REMOTE
GList *if_list;
- GtkWidget *remote_w;
+ GtkWidget *remote_w = NULL;
#endif
if (!cap_open_w || !G_IS_OBJECT(cap_open_w))