]> Git Repo - qemu.git/blobdiff - block/iscsi.c
qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF
[qemu.git] / block / iscsi.c
index f5aecfc8834bc1c397bdd0db2855f36b1a660a84..d19ae0e39803812034cbb4b918c028bf3f27e4b3 100644 (file)
@@ -2143,7 +2143,7 @@ static int coroutine_fn iscsi_co_create_opts(const char *filename, QemuOpts *opt
     } else {
         ret = iscsi_open(bs, bs_options, 0, NULL);
     }
-    QDECREF(bs_options);
+    qobject_unref(bs_options);
 
     if (ret != 0) {
         goto out;
This page took 0.022566 seconds and 4 git commands to generate.