mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-24 03:20:46 +02:00
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:
parent
294e8b0b67
commit
8095e52e5c
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue