[gnome-online-accounts/gnome-3-4] facebook: Unref the JSON parser



commit 76a4f7771577ec4f83ffed09a09137b5cf2ab691
Author: Cosimo Alfarano <cosimo alfarano collabora com>
Date:   Wed Mar 14 14:08:59 2012 +0000

    facebook: Unref the JSON parser

 src/goabackend/goafacebookprovider.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goafacebookprovider.c b/src/goabackend/goafacebookprovider.c
index 86d04e2..92f7c78 100644
--- a/src/goabackend/goafacebookprovider.c
+++ b/src/goabackend/goafacebookprovider.c
@@ -243,6 +243,8 @@ get_identity_sync (GoaOAuth2Provider  *provider,
  out:
   g_free (id);
   g_free (presentation_identity);
+  if (parser != NULL)
+    g_object_unref (parser);
   if (call != NULL)
     g_object_unref (call);
   if (proxy != NULL)



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