[libvirt] PATCH: Convert lots of code to new memory APIs

Daniel Veillard veillard at redhat.com
Wed May 28 14:10:49 UTC 2008


On Thu, May 22, 2008 at 10:42:03PM +0100, Daniel P. Berrange wrote:
> This patch converts a large amount of the XML parsing/generating code in
> the Xen and QEMU drivers over to using the new memory APIs, so we can get
> OOM checking of it. In the process I've discovered and fixed a number of
> double-free's, and leaks

  Excellent, I think most allocations are done in those section of code
(not taking into account libxml2 own tree constructions at parse time)

  +1

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list