[libvirt] [PATCH 08/11] Replace virSecretFree with virObjectUnref

Peter Krempa pkrempa at redhat.com
Tue Dec 2 15:36:01 UTC 2014


On 12/01/14 16:56, John Ferlan wrote:
> Since virSecretFree 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                   | 5 ++---
>  src/remote/remote_driver.c        | 3 +--
>  src/secret/secret_driver.c        | 6 ++----
>  src/storage/storage_backend.c     | 4 ++--
>  src/storage/storage_backend_fs.c  | 4 ++--
>  src/storage/storage_backend_rbd.c | 3 +--
>  7 files changed, 12 insertions(+), 17 deletions(-)
> 

ACK,

Peter


-------------- 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/ff21052a/attachment-0001.sig>


More information about the libvir-list mailing list