[Libvir] Avoid leak upon failed realloc
Daniel P. Berrange
berrange at redhat.com
Fri Jun 22 11:16:15 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.
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 :-)
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the libvir-list
mailing list