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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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



Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]