]> Git Repo - qemu.git/blobdiff - tests/q35-test.c
qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF
[qemu.git] / tests / q35-test.c
index 3eaedf4b24a146ddd74474fcb82ab99cd1990c14..7ea7acc9d87a9e9e6fcb27c19fbb0ba3e607be00 100644 (file)
@@ -109,7 +109,7 @@ static void test_smram_lock(void)
     response = qmp("{'execute': 'system_reset', 'arguments': {} }");
     g_assert(response);
     g_assert(!qdict_haskey(response, "error"));
-    QDECREF(response);
+    qobject_unref(response);
 
     /* check open is settable again */
     smram_set_bit(pcidev, MCH_HOST_BRIDGE_SMRAM_D_OPEN, false);
This page took 0.022374 seconds and 4 git commands to generate.