]> git.proxmox.com Git - mirror_qemu.git/blobdiff - migration/qjson.c
hw/vfio/ccw: avoid taking address members in packed structs
[mirror_qemu.git] / migration / qjson.c
index 9d7f6eb9ebab6c03404dd812d216c530a193b451..e9889bdcb0dfdd476489b6d778973a155282f017 100644 (file)
@@ -109,6 +109,6 @@ void qjson_finish(QJSON *json)
 
 void qjson_destroy(QJSON *json)
 {
-    QDECREF(json->str);
+    qobject_unref(json->str);
     g_free(json);
 }