On Fri, Jul 17, 2020 at 18:15:51 -0300, Daniel Henrique Barboza wrote:
Hi,
These are some simple cleanups related to the qemuProcessQMPPtr
pointer I ended up making while trying to understand how and when
qemuProcessQMPFree() is called.
Daniel Henrique Barboza (5):
qemu_process.h: register AUTOPTR_CLEANUP_FUNC for qemuProcessQMPPtr
qemu_process.c: modernize qemuProcessQMPNew()
qemu_driver.c: modernize qemuConnectCPUModelBaseline()
qemu_driver.c: modernize qemuConnectCPUModelComparison()
qemu_capabilities.c: use g_autoptr() in virQEMUCapsInitQMPSingle()
src/qemu/qemu_capabilities.c | 3 +--
src/qemu/qemu_driver.c | 41 ++++++++++++++----------------------
src/qemu/qemu_process.c | 13 ++++--------
src/qemu/qemu_process.h | 1 +
4 files changed, 22 insertions(+), 36 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar(a)redhat.com>
And pushed.