aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-07-07 21:30:32 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2016-09-08 17:57:32 +0400
commit265804b5d755502438b4d42a3682f54e03ea4d32 (patch)
treeff44a044909c9eb9ffb154e0e97121a579f8f0a7
parentd55f295b2b5477528da601dba57880b0d5f24cb1 (diff)
downloadqemu-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>
-rw-r--r--tests/check-qom-interface.c1
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)