aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-account-assistant.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r--src/empathy-account-assistant.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 91ba26b68..852ea4534 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -141,6 +141,10 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
priv->current_account_widget = account_widget;
priv->current_widget_object = widget_object;
+
+ if (priv->settings != NULL)
+ g_object_unref (priv->settings);
+
priv->settings = settings;
g_signal_connect (priv->current_widget_object, "handle-apply",