]> xenbits.xensource.com Git - libvirt.git/commit
qemuSnapshotCreateInactiveExternal: Automatically free temporary variables
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Dec 2021 16:24:48 +0000 (17:24 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Dec 2021 15:36:24 +0000 (16:36 +0100)
commit4aa3d8fffad7564401173ab46163ffd7f6517d4d
treeb10de87562032a5cd66a332fff28518669b27f7c
parente4b4ccb94fc1b99a5a50c9d5ac73adde18011b48
qemuSnapshotCreateInactiveExternal: Automatically free temporary variables

Automatically free 'cmd' and 'created' by moving them to the appropriate
scopes.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_snapshot.c