aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/e-source-config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/misc/e-source-config.c b/widgets/misc/e-source-config.c
index 79d2e24f61..16c3c05f64 100644
--- a/widgets/misc/e-source-config.c
+++ b/widgets/misc/e-source-config.c
@@ -231,6 +231,10 @@ source_config_add_candidate (ESourceConfig *config,
static void
source_config_free_candidate (Candidate *candidate)
{
+ g_signal_handlers_disconnect_matched (
+ candidate->scratch_source, G_SIGNAL_MATCH_FUNC,
+ 0, 0, NULL, G_CALLBACK (e_source_config_check_complete), NULL);
+
g_object_unref (candidate->page);
g_object_unref (candidate->scratch_source);
g_object_unref (candidate->backend);