diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-07-07 21:30:32 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-09-08 17:57:32 +0400 |
commit | 265804b5d755502438b4d42a3682f54e03ea4d32 (patch) | |
tree | ff44a044909c9eb9ffb154e0e97121a579f8f0a7 /tests | |
parent | d55f295b2b5477528da601dba57880b0d5f24cb1 (diff) | |
download | qemu-265804b5d755502438b4d42a3682f54e03ea4d32.zip qemu-265804b5d755502438b4d42a3682f54e03ea4d32.tar.gz qemu-265804b5d755502438b4d42a3682f54e03ea4d32.tar.bz2 |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check-qom-interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check-qom-interface.c b/tests/check-qom-interface.c index 719ddcf..f87c9aa 100644 --- a/tests/check-qom-interface.c +++ b/tests/check-qom-interface.c @@ -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) |