mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-05 13:17:51 +03:00
qemu_process.h: register AUTOPTR_CLEANUP_FUNC for qemuProcessQMPPtr
Next patches will use g_autoptr() in qemuProcessQMPPtr pointers for some cleanups in QMP code. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20200717211556.1024748-2-danielhb413@gmail.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
5c50d1dda5
commit
b677f0dbe0
@ -234,5 +234,6 @@ qemuProcessQMPPtr qemuProcessQMPNew(const char *binary,
|
||||
bool forceTCG);
|
||||
|
||||
void qemuProcessQMPFree(qemuProcessQMPPtr proc);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(qemuProcessQMP, qemuProcessQMPFree);
|
||||
|
||||
int qemuProcessQMPStart(qemuProcessQMPPtr proc);
|
||||
|
Loading…
Reference in New Issue
Block a user