[libgdata/wip/rishi/drive: 2/4] tests: Don't leak the authorizer
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/wip/rishi/drive: 2/4] tests: Don't leak the authorizer
- Date: Fri, 4 Sep 2015 13:19:46 +0000 (UTC)
commit 4df59fb37cdf0c22eccef942039a0c8aba4702ed
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Sep 4 13:59:01 2015 +0200
tests: Don't leak the authorizer
https://bugzilla.gnome.org/show_bug.cgi?id=684920
gdata/tests/documents.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c
index 2423ca7..88bfac1 100644
--- a/gdata/tests/documents.c
+++ b/gdata/tests/documents.c
@@ -2218,5 +2218,7 @@ main (int argc, char *argv[])
if (service != NULL)
g_object_unref (service);
+ g_clear_object (&authorizer);
+
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]