diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-09-22 13:49:05 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-10-21 12:37:45 +0100 |
commit | 230751f4e63a65294739087ea994bafb320ca3f6 (patch) | |
tree | a62931932a9bec8d910c77aba955a2c522692221 | |
parent | 15afdc4c10720c31a4142db66845e806244310a8 (diff) | |
download | dbus-glib-230751f4e63a65294739087ea994bafb320ca3f6.tar.gz |
test-client: don't leak NodeInfo and one proxy
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41129
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | test/interfaces/test-client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/interfaces/test-client.c b/test/interfaces/test-client.c index ae974ae..1fbc3ee 100644 --- a/test/interfaces/test-client.c +++ b/test/interfaces/test-client.c @@ -256,7 +256,9 @@ main (int argc, } } } + g_free (str); + node_info_unref (node); if (!found_iface_a_prop || !found_iface_b_prop) { @@ -266,6 +268,8 @@ main (int argc, } } + g_object_unref (dp_proxy); + exit(0); } |