[libvirt] PATCH: Fix leak in storage driver

Daniel Veillard veillard at redhat.com
Fri Jan 30 14:29:38 UTC 2009


On Fri, Jan 30, 2009 at 11:43:03AM +0000, Daniel P. Berrange wrote:
> A recent change to keep the storage pools active upon shutdown, exposed a
> minor flaw in the code which free's a virStoragePoolObj instance. It
> never free's the associated volumes, since it presumed you'd never free
> a pool, which was still active. A bogus assumption, causing  us to leak
> memory upon daemon shutdown, thus annoying valgrind. 

  Okay, fine, +1

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