summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2013-08-29 23:03:53 -0600
committerPhilip Withnall <philip@tecnocode.co.uk>2013-12-18 23:41:31 +0000
commita9c98a1478d3c05d279704333580a8eb23c10836 (patch)
tree2c0a50cb4710e4587e07b82195327537d71ffa05
parent1606f446ebf48ae0232fdb69deed9666c390048f (diff)
downloadlibgdata-a9c98a1478d3c05d279704333580a8eb23c10836.tar.gz
tests: Fix minor memory leaks in general test suite
-rw-r--r--gdata/tests/general.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdata/tests/general.c b/gdata/tests/general.c
index f4b6d4e3..7c23fc97 100644
--- a/gdata/tests/general.c
+++ b/gdata/tests/general.c
@@ -616,6 +616,7 @@ test_entry_links_remove (void)
g_object_unref (link2_);
g_object_unref (link_);
+ g_object_unref (entry);
}
static void
@@ -1057,6 +1058,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