aboutsummaryrefslogtreecommitdiffstats
path: root/modules/book-config-webdav
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book-config-webdav')
-rw-r--r--modules/book-config-webdav/evolution-book-config-webdav.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/book-config-webdav/evolution-book-config-webdav.c b/modules/book-config-webdav/evolution-book-config-webdav.c
index 78b92a6384..0e7a6f30f2 100644
--- a/modules/book-config-webdav/evolution-book-config-webdav.c
+++ b/modules/book-config-webdav/evolution-book-config-webdav.c
@@ -94,7 +94,7 @@ book_config_webdav_text_to_uri (GBinding *binding,
return FALSE;
target = g_binding_get_target (binding);
- source = e_source_extension_get_source (E_SOURCE_EXTENSION (target));
+ source = e_source_extension_ref_source (E_SOURCE_EXTENSION (target));
extension_name = E_SOURCE_EXTENSION_AUTHENTICATION;
extension = e_source_get_extension (source, extension_name);
@@ -104,6 +104,8 @@ book_config_webdav_text_to_uri (GBinding *binding,
g_value_take_boxed (target_value, soup_uri);
+ g_object_unref (source);
+
return TRUE;
}