[libsocialweb: 5/7] smugmug: Unref RestProxyCalls.



commit d9ceda2e92db2502d42d92b2a594ead67f6dd3a9
Author: Eitan Isaacson <eitan isaacson collabora co uk>
Date:   Thu Feb 17 16:35:45 2011 -0800

    smugmug: Unref RestProxyCalls.

 services/smugmug/smugmug.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/services/smugmug/smugmug.c b/services/smugmug/smugmug.c
index f5b47d6..861a660 100644
--- a/services/smugmug/smugmug.c
+++ b/services/smugmug/smugmug.c
@@ -338,6 +338,7 @@ _upload_file (SwServiceSmugmug *self,
   g_free (content_type);
   g_free (bytecount);
   g_checksum_free (checksum);
+  g_object_unref (call);
 
   return opid;
 }
@@ -513,6 +514,7 @@ _smugmug_collections_create (SwCollectionsIface *self,
                          context,
                          NULL);
 
+  g_object_unref (call);
 }
 
 static void
@@ -566,6 +568,8 @@ _smugmug_collections_get_details (SwCollectionsIface *self,
                          (GObject *) smugmug,
                          context,
                          NULL);
+
+  g_object_unref (call);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]