[Libvir] Avoid leak upon failed realloc
Daniel Veillard
veillard at redhat.com
Fri Jun 22 13:35:53 UTC 2007
On Fri, Jun 22, 2007 at 12:16:15PM +0100, Daniel P. Berrange wrote:
> 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.
>
> Looks good, but please don't apply this to CVS. I'll make the equivalent
> fix in my QEMU patch series.
>
> /me doesn't want to re-diff a series of 20 patches again :-)
dohh, patch out then :-\
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