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