• D
    libvirt: remove link to outdated mailing list post · 9a04cad0
    Daniel P. Berrangé 提交于
    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: NJán Tomko <jtomko@redhat.com>
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    9a04cad0
libvirt-host.c 50.5 KB