[libgdata/libgdata-0-6] documents: Fix some memory leaks in the documents test suite
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/libgdata-0-6] documents: Fix some memory leaks in the documents test suite
- Date: Sat, 11 Dec 2010 01:03:31 +0000 (UTC)
commit 1237d8f5f526ca7884b07b930fe0b0f6aa223ad4
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Dec 9 19:01:32 2010 +0000
documents: Fix some memory leaks in the documents test suite
gdata/tests/documents.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c
index a275d02..24ad260 100644
--- a/gdata/tests/documents.c
+++ b/gdata/tests/documents.c
@@ -48,6 +48,8 @@ test_authentication (void)
g_assert (gdata_service_is_authenticated (GDATA_SERVICE (service)) == TRUE);
g_assert_cmpstr (gdata_service_get_username (GDATA_SERVICE (service)), ==, DOCUMENTS_USERNAME);
g_assert_cmpstr (gdata_service_get_password (GDATA_SERVICE (service)), ==, PASSWORD);
+
+ g_object_unref (service);
}
static void
@@ -90,6 +92,7 @@ test_remove_all_documents_and_folders (gconstpointer service)
g_clear_error (&error);
}
+ g_object_unref (query);
g_object_unref (feed);
}
@@ -111,6 +114,7 @@ test_query_all_documents_with_folder (gconstpointer service)
g_clear_error (&error);
g_object_unref (feed);
+ g_object_unref (query);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]