commit c0810db8bfb77999ceae738e88c7ff11352bb366
parent 002986de753fc0331f901620e3f09e521ad406ce
Author: Colin Leroy <colin@colino.net>
Date: Wed, 14 Jan 2015 16:46:21 +0100
Fix bug #3364, segfault in src/wizard.c: add missing return
Fix bug #3365, segfault in src/prefs_account.c: add missing return
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git 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
@@ -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;