[libvirt] [PATCH 10/11] Replace virInterfaceFree with virObjectUnref

Peter Krempa pkrempa at redhat.com
Tue Dec 2 15:39:43 UTC 2014


On 12/01/14 16:56, John Ferlan wrote:
> Since virInterfac3Free 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                         | 2 +-
>  src/interface/interface_backend_netcf.c | 6 ++----
>  src/interface/interface_backend_udev.c  | 2 +-
>  src/remote/remote_driver.c              | 3 +--
>  5 files changed, 7 insertions(+), 10 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/2329a140/attachment-0001.sig>


More information about the libvir-list mailing list