X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qobject%2Fqlist.c;h=b3274af88b0b82bc640363737715ae6872288274;hb=HEAD;hp=1be95367d1a0b7299f1a32de1df4139de8a0d635;hpb=126eeee6c7b516e0a348dd4d60e59dbfa4b4b513;p=mirror_qemu.git diff --git a/qobject/qlist.c b/qobject/qlist.c index 1be95367d1..356ad946b0 100644 --- a/qobject/qlist.c +++ b/qobject/qlist.c @@ -17,6 +17,7 @@ #include "qapi/qmp/qnum.h" #include "qapi/qmp/qstring.h" #include "qemu/queue.h" +#include "qobject-internal.h" /** * qlist_new(): Create a new QList @@ -181,3 +182,8 @@ void qlist_destroy_obj(QObject *obj) g_free(qlist); } + +void qlist_unref(QList *q) +{ + qobject_unref(q); +}