]> err.no Git - libchamplain/commitdiff
No need to unref the loader in case of error
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Tue, 12 May 2009 14:17:43 +0000 (16:17 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 16 May 2009 22:34:17 +0000 (18:34 -0400)
champlain/champlain-network-map-source.c

index c1a4185bed698030332fed065a8b22cd3e692cb2..c3199b41bb1a8bccf6b4f5c0cd8385e17a4857a4 100644 (file)
@@ -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));
         }
     }