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/check-qom-interface.c | |
parent | d55f295b2b5477528da601dba57880b0d5f24cb1 (diff) |
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/check-qom-interface.c')
-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 719ddcf2e0..f87c9aaa8a 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) |