From: Emmanuel Rodriguez Date: Tue, 12 May 2009 14:17:43 +0000 (+0200) Subject: No need to unref the loader in case of error X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cba941336f1548cb109837aa5bede0f8fa7e814c;p=libchamplain No need to unref the loader in case of error --- 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)); } }