From 42ac6eefbcbcb8f849a491c13e461633a30485b3 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 12 Jul 2018 13:32:34 +0100 Subject: [PATCH 12/18] test/marshal: Don't leak a message and its marshalled buffer Signed-off-by: Simon McVittie --- test/marshal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/marshal.c b/test/marshal.c index f10bb1c2..a1e0589d 100644 --- a/test/marshal.c +++ b/test/marshal.c @@ -199,6 +199,9 @@ test_endian (Fixture *f, /* the second "u" in the signature replaced a padding byte, so only * the length of the body changed */ g_assert_cmpint (len, ==, BLOB_LENGTH + 4); + + dbus_clear_message (&m); + dbus_free (output); } static void -- 2.18.0