test/marshal: Don't leak a message and its marshalled buffer

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107194
This commit is contained in:
Simon McVittie 2018-07-12 13:32:34 +01:00
parent 294e8b0b67
commit 8095e52e5c

View file

@ -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