[gnome-online-accounts/facebook: 4/6] facebook: Unref the JSON parser
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/facebook: 4/6] facebook: Unref the JSON parser
- Date: Thu, 15 Mar 2012 14:06:07 +0000 (UTC)
commit 5b1d2f01db2e04a5dce1f1350bf592bc1b5b6f42
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 ded7c39..f271c85 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]