[libgdata/tasks-integration: 4/5] tests: Fix minor memory leaks in general test suite
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/tasks-integration: 4/5] tests: Fix minor memory leaks in general test suite
- Date: Fri, 30 Aug 2013 05:23:54 +0000 (UTC)
commit e18bec0f183b660cb7c4066dcc9e6577a819a895
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Aug 29 23:03:53 2013 -0600
tests: Fix minor memory leaks in general test suite
gdata/tests/general.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdata/tests/general.c b/gdata/tests/general.c
index e303161..f8f2c78 100644
--- a/gdata/tests/general.c
+++ b/gdata/tests/general.c
@@ -698,6 +698,7 @@ test_entry_links_remove (void)
g_object_unref (link2_);
g_object_unref (link_);
+ g_object_unref (entry);
}
static void
@@ -1139,6 +1140,8 @@ test_query_pagination (void)
query_uri = gdata_query_get_query_uri (query, "http://example.com/");
g_assert_cmpstr (query_uri, ==, "http://example.com/?q=test&start-index=30&max-results=10");
g_free (query_uri);
+
+ g_object_unref (query);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]