mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 01:43:39 +00:00
tests: fix check-qom-interface leaks
Found thanks to ASAN. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
d55f295b2b
commit
265804b5d7
|
@ -76,6 +76,7 @@ static void test_interface_impl(const char *type)
|
||||||
|
|
||||||
g_assert(iobj);
|
g_assert(iobj);
|
||||||
g_assert(ioc->test == PATTERN);
|
g_assert(ioc->test == PATTERN);
|
||||||
|
object_unref(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void interface_direct_test(void)
|
static void interface_direct_test(void)
|
||||||
|
|
Loading…
Reference in a new issue