[gnome-online-accounts/gnome-3-14] owncloud: Fix 'documents' leak in ::build_object()
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-14] owncloud: Fix 'documents' leak in ::build_object()
- Date: Mon, 14 Sep 2015 13:48:43 +0000 (UTC)
commit 555ac6146b37be5e677677d78ec28ad4267074e6
Author: Christophe Fergeau <cfergeau redhat com>
Date: Sun May 3 11:13:22 2015 +0200
owncloud: Fix 'documents' leak in ::build_object()
Similarly to the calendar, contacts, files objects, 'documents' needs to
be unref'ed when no longer needed.
https://bugzilla.gnome.org/show_bug.cgi?id=752939
src/goabackend/goaowncloudprovider.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaowncloudprovider.c b/src/goabackend/goaowncloudprovider.c
index a1ec642..f1f24ef 100644
--- a/src/goabackend/goaowncloudprovider.c
+++ b/src/goabackend/goaowncloudprovider.c
@@ -334,6 +334,7 @@ build_object (GoaProvider *provider,
out:
g_clear_object (&calendar);
g_clear_object (&contacts);
+ g_clear_object (&documents);
g_clear_object (&files);
g_clear_object (&password_based);
g_clear_pointer (&uri, (GDestroyNotify *) soup_uri_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]