mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue