]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/check-qom-interface.c
pseries: Enforce homogeneous threads-per-core
[mirror_qemu.git] / tests / check-qom-interface.c
index 09354deb703e65f0bcf4fe7364be0980bddd7f6e..f87c9aaa8ad473730f03c84b7a483737e57642f3 100644 (file)
@@ -10,7 +10,6 @@
  * See the COPYING.LIB file in the top-level directory.
  */
 #include "qemu/osdep.h"
-#include <glib.h>
 
 #include "qom/object.h"
 #include "qemu/module.h"
@@ -77,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)