mirror of https://gitee.com/openkylin/libvirt.git
virsh: add cleanup function for virshDomainSnapshot
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
84e9baad7b
commit
6c96bf6bbf
|
@ -55,8 +55,10 @@ void
|
|||
virshDomainCheckpointFree(virDomainCheckpointPtr chk);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomainCheckpoint, virshDomainCheckpointFree);
|
||||
|
||||
typedef virDomainSnapshot virshDomainSnapshot;
|
||||
void
|
||||
virshDomainSnapshotFree(virDomainSnapshotPtr snap);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomainSnapshot, virshDomainSnapshotFree);
|
||||
|
||||
int
|
||||
virshDomainState(vshControl *ctl,
|
||||
|
|
Loading…
Reference in New Issue