From cba941336f1548cb109837aa5bede0f8fa7e814c Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Tue, 12 May 2009 16:17:43 +0200 Subject: [PATCH] No need to unref the loader in case of error --- champlain/champlain-network-map-source.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/champlain/champlain-network-map-source.c b/champlain/champlain-network-map-source.c index c1a4185..c3199b4 100644 --- a/champlain/champlain-network-map-source.c +++ b/champlain/champlain-network-map-source.c @@ -489,9 +489,8 @@ file_loaded_cb (SoupSession *session, { if (errno != EEXIST) { - g_warning ("Unable to create the image cache: %s", - g_strerror (errno)); - g_object_unref (loader); + g_warning ("Unable to create the image cache path '%s': %s", + path, g_strerror (errno)); } } -- 2.39.5