]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: checkpoint: move variables inside the loop
authorJán Tomko <jtomko@redhat.com>
Tue, 10 Aug 2021 17:26:45 +0000 (19:26 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 11 Aug 2021 08:52:58 +0000 (10:52 +0200)
commit7f1c6736fae48fd368c9ff8b72abf0451f65a99b
treea6bc8d3c3581482818d83b30b2e60a8b31bceeb7
parent6c96bf6bbf4f5bb2a962feb35188a5593533096a
virsh: checkpoint: move variables inside the loop

Use g_auto to free them instead of open-coding it.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tools/virsh-checkpoint.c