]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qobject/qstring.c
include/qapi: add g_autoptr support for qobject types
[mirror_qemu.git] / qobject / qstring.c
index b4613899b9793789395deb2b1e0f0d71cc2585b1..794f8c93578a831a5feecfc9a0d8dfa50335ff48 100644 (file)
@@ -100,3 +100,8 @@ void qstring_destroy_obj(QObject *obj)
     g_free((char *)qs->string);
     g_free(qs);
 }
+
+void qstring_unref(QString *q)
+{
+    qobject_unref(q);
+}