[libvirt] [PATCH 11/11] Replace virDomainSnapshotFree with virObjectUnref

Peter Krempa pkrempa at redhat.com
Tue Dec 2 15:40:55 UTC 2014


On 12/01/14 16:56, John Ferlan wrote:
> Since virDomainSnapshotFree will call virObjectUnref anyway, let's just use
> that directly so as to avoid the possibility that we inadvertently clear out
> a pending error message when using the public API.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  cfg.mk                     | 4 ++--
>  daemon/remote.c            | 7 +++----
>  src/qemu/qemu_driver.c     | 2 +-
>  src/remote/remote_driver.c | 6 ++----
>  4 files changed, 8 insertions(+), 11 deletions(-)
> 

ACK


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141202/fbf63530/attachment-0001.sig>


More information about the libvir-list mailing list