[librest] tests/lastfm: Fix memory leak
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest] tests/lastfm: Fix memory leak
- Date: Wed, 3 Sep 2014 08:56:32 +0000 (UTC)
commit 75b2da5c7ab481992dec69a7aead04ef3dbb3609
Author: Christophe Fergeau <cfergeau redhat com>
Date: Tue Sep 2 18:40:39 2014 +0200
tests/lastfm: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=735921
tests/lastfm.c | 1 +
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]