[libvirt] [PATCH] Document the need to free vir*Ptr objects per-function
Eric Blake
eblake at redhat.com
Tue Jul 8 17:05:37 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140708/89ee286c/attachment-0001.sig>
More information about the libvir-list
mailing list