summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-09-02 18:40:39 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-09-03 10:23:44 +0200
commit75b2da5c7ab481992dec69a7aead04ef3dbb3609 (patch)
tree3e7dc35f53b65d76e5ff29e8f2bf128fa11442a8
parent6942de4c813b323a61cfe1414cea3c2a20d6e02b (diff)
downloadlibrest-75b2da5c7ab481992dec69a7aead04ef3dbb3609.tar.gz
tests/lastfm: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=735921
-rw-r--r--tests/lastfm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lastfm.c b/tests/lastfm.c
index 4b281ae..fba2fe2 100644
--- a/tests/lastfm.c
+++ b/tests/lastfm.c
@@ -79,6 +79,7 @@ main (int argc, char **argv)
g_assert_cmpstr (node->content, ==, USERNAME);
rest_xml_node_unref (root);
+ g_object_unref (parser);
g_object_unref (call);
g_object_unref (proxy);