]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libvirt: remove link to outdated mailing list post
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 5 Jul 2019 13:37:12 +0000 (14:37 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 8 Jul 2019 14:02:55 +0000 (15:02 +0100)
The virConnectGetType() method has an unfortunate signature, returning a
static string that must not be freed by the caller. The remote driver,
however, gets this string dynamically over an RPC call, which raised a
design discussion on the mailing list. Eventually the problem was
resolved by having the remote driver cache the returned string
internally and free it when the connection was closed.

The link to the mailing list is thus talking about a problem that does
not actually exist in the final implementation, and at best serves to
confuse the reader into thinking there might be a memory leak.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/libvirt-host.c

index 2978825d22b90226b96f03161a8bde23789e3445..e5c4e5f72a2a171214515ea152319046c0c3fc64 100644 (file)
@@ -98,9 +98,6 @@ virConnectSupportsFeature(virConnectPtr conn, int feature)
  * hypervisor, use virConnectGetCapabilities().
  *
  * Returns NULL in case of error, a static zero terminated string otherwise.
- *
- * See also:
- * http://www.redhat.com/archives/libvir-list/2007-February/msg00096.html
  */
 const char *
 virConnectGetType(virConnectPtr conn)