[libgdata/libgdata-0-6] tests: Fix memory leaks in the general test suite



commit 59e1ef8df222f4973bb3003b201b28b021aeeb4e
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Dec 10 11:44:22 2010 +0000

    tests: Fix memory leaks in the general test suite

 gdata/tests/general.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdata/tests/general.c b/gdata/tests/general.c
index 1d56cc6..70b8ae2 100644
--- a/gdata/tests/general.c
+++ b/gdata/tests/general.c
@@ -265,6 +265,7 @@ test_entry_parse_xml (void)
 				"<ns:barfoo shizzle=\"zing\" fo=\"shizzle\">How about some charactersâ?½</ns:barfoo>"
 			 "</entry>");
 	g_free (xml);
+	g_object_unref (entry);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]