[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULLv2 08/25] tests: fix check-qom-interface leaks
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PULLv2 08/25] tests: fix check-qom-interface leaks |
Date: |
Thu, 8 Sep 2016 18:17:03 +0400 |
Found thanks to ASAN.
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
---
tests/check-qom-interface.c | 1 +
1 file changed, 1 insertion(+)
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)
--
2.10.0
- [Qemu-devel] [PULLv2 00/25] Leak patches, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 01/25] tests: fix test-qga leaks, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 02/25] glib-compat: add g_(s)list_free_full(), Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 04/25] qga: free remaining leaking state, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 03/25] qga: free the whole blacklist, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 05/25] tests: fix test-cutils leaks, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 07/25] tests: fix test-iov leaks, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 08/25] tests: fix check-qom-interface leaks,
Marc-André Lureau <=
- [Qemu-devel] [PULLv2 06/25] tests: fix test-vmstate leaks, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 10/25] tests: fix leak in test-string-input-visitor, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 09/25] tests: fix check-qom-proplist leaks, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 11/25] portio: keep references on portio, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 12/25] pc: simplify passing qemu_irq, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 13/25] pc: don't leak a20_line, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 14/25] machine: use class base init generated name, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 16/25] tests: fix qom-test leaks, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 15/25] acpi-build: fix array leak, Marc-André Lureau, 2016/09/08
- [Qemu-devel] [PULLv2 17/25] pc: free i8259, Marc-André Lureau, 2016/09/08