]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: use g_autofree instead of VIR_FREE in qemuMonitorTextCreateSnapshot()
authorPavel Mores <pmores@redhat.com>
Fri, 6 Dec 2019 09:11:28 +0000 (10:11 +0100)
committerCole Robinson <crobinso@redhat.com>
Tue, 17 Dec 2019 15:49:30 +0000 (10:49 -0500)
commitb036505279b9199dac6bf9d2607ac9e7e941e420
treef9f3746cbd3cb0b8f00c4b014ff1ffb3700f1c6c
parentb87cca75c3b513cd3e62b68914a7abdb16c40bed
qemu: use g_autofree instead of VIR_FREE in qemuMonitorTextCreateSnapshot()

While at bugfixing, convert the whole function to the new-style memory
allocation handling.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pavel Mores <pmores@redhat.com>
src/qemu/qemu_monitor_text.c