[Libvir] Avoid leak upon failed realloc
Daniel Veillard
veillard at redhat.com
Fri Jun 22 10:15:37 UTC 2007
On Fri, Jun 22, 2007 at 11:55:22AM +0200, Jim Meyering wrote:
> This matters only if/when this realloc call fails. And then, only in
> the small way that with this patch, there's a slightly better chance of
> recovering from the low-memory condition.
>
> 2007-06-22 Jim Meyering <jim at meyering.net>
>
> * qemud/driver.c (qemudMonitorCommand): Avoid leak upon failed realloc.
Yup, always nasty to track, applied,
thanks a lot !
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