[libvirt] [PATCH] Add virBufferFreeAndReset() and replace free()

Matthias Bolte matthias.bolte at googlemail.com
Wed Dec 9 23:10:33 UTC 2009


2009/12/9 Daniel Veillard <veillard at redhat.com>:
> On Sun, Nov 22, 2009 at 07:22:08PM +0100, Matthias Bolte wrote:
>> Replace free(virBufferContentAndReset()) with virBufferFreeAndReset().
>> Update documentation and replace all remaining calls to free() with
>> calls to VIR_FREE(). Also add missing calls to virBufferFreeAndReset()
>> and virReportOOMError() in OOM error cases.
>
>  Looks fine, nice cleanup, fix a few potential leaks too  and a few
> indentation mistakes, ACK
>
> Daniel
>

Just converted some remaining free()'s to VIR_FREE() that I've missed last time.

Okay, pushed.

Matthias




More information about the libvir-list mailing list