]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use g_autoptr in qemuProcessInit
authorJiri Denemark <jdenemar@redhat.com>
Tue, 16 Apr 2024 13:11:02 +0000 (15:11 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 16 Apr 2024 15:58:23 +0000 (17:58 +0200)
commitded74b33699bdaf67bc57e2ad311f94fd96c7f6e
tree95976a83917e2ea6671594e2250f5d53741c982a
parent8b9d35c82ca03e9b7e7a61030b62930eea2d83f1
qemu: Use g_autoptr in qemuProcessInit

The only thing we need to free in the cleanup code is virCPUDef and for
that we already have g_autoptr handler.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c