Re: [PATCH] Document the need to free vir*Ptr objects per-function

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

 



On 07/08/2014 10:00 AM, Ján Tomko wrote:
> Another patch for
> https://bugzilla.redhat.com/show_bug.cgi?id=994731
> ---
>  src/libvirt.c | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 134 insertions(+), 5 deletions(-)
> 
> diff --git a/src/libvirt.c b/src/libvirt.c
> index 316fdf0..8684298 100644
> --- a/src/libvirt.c
> +++ b/src/libvirt.c
> @@ -1299,6 +1299,9 @@ do_open(const char *name,
>   *
>   * URIs are documented at http://libvirt.org/uri.html
>   *
> + * virConnectClose should be used to release the resources after the connection
> + * is no longer needed.

Does the doc-parser turn virConnectClose into a link? If not, does using
'virConnectClose()' into a link?

/me goes looking
http://libvirt.org/html/libvirt-libvirt.html#virConnectOpenAuth

looks like it does just fine without needing the ().

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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]