mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
libvirt: remove link to outdated mailing list post
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>
This commit is contained in:
parent
881686d4b1
commit
9a04cad07d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user