mirror of
https://github.com/qemu/qemu.git
synced 2025-01-19 12:03:51 +08: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(ioc->test == PATTERN);
|
||||
object_unref(obj);
|
||||
}
|
||||
|
||||
static void interface_direct_test(void)
|
||||
|
Loading…
Reference in New Issue
Block a user