[libvirt] openvzGetType() leaks memory

Daniel Veillard veillard at redhat.com
Wed Aug 5 09:41:55 UTC 2009


On Sat, Aug 01, 2009 at 11:22:40AM +0200, Matthias Bolte wrote:
> All other drivers return a static string from their getType() function
> (conforming with the API documentation), but the OpenVZ driver does
> strdup() a string, generating a leak:

  Okay, Dan commited the fix, thanks for raising the issue !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list