From c0810db8bfb77999ceae738e88c7ff11352bb366 Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Wed, 14 Jan 2015 16:46:21 +0100 Subject: [PATCH] Fix bug #3364, segfault in src/wizard.c: add missing return Fix bug #3365, segfault in src/prefs_account.c: add missing return --- src/prefs_account.c | 1 + src/wizard.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/prefs_account.c b/src/prefs_account.c index 934a1cf6d..b388c85f9 100644 --- a/src/prefs_account.c +++ b/src/prefs_account.c @@ -3848,6 +3848,7 @@ static void auto_configure_cb (GtkWidget *widget, gpointer data) g_free(address); gtk_label_set_text(GTK_LABEL(basic_page.auto_configure_lbl), _("Failed (wrong address)")); + return; } domain = strchr(address, '@') + 1; diff --git a/src/wizard.c b/src/wizard.c index 717bb9fd0..18505f457 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -1372,6 +1372,7 @@ static void auto_configure_cb (GtkWidget *widget, gpointer data) g_free(address); gtk_label_set_text(GTK_LABEL(wizard->auto_configure_lbl), _("Failed (wrong address)")); + return; } domain = strchr(address, '@') + 1; -- 2.25.1