[libvirt] [PATCH 01/11] rpc: Replace virXXXFree with virObjectUnref

Peter Krempa pkrempa at redhat.com
Tue Dec 2 15:45:07 UTC 2014


On 12/01/14 16:56, John Ferlan wrote:
> Modify the various virXXXFree calls to only call virObjectUnref. Calling
> the public API will reset the last error thus clearing out a pending error.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/rpc/gendispatch.pl | 17 ++++++-----------
>  1 file changed, 6 insertions(+), 11 deletions(-)
> 

ACK for consistency, although the remote driver is saving the error
prior to calling the *Free() apis that would clear it out.

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


More information about the libvir-list mailing list