qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/4] block: Fix how mirror_run() frees its buffe


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 4/4] block: Fix how mirror_run() frees its buffer
Date: Tue, 15 Jan 2013 15:20:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Kevin Wolf <address@hidden> writes:

> Am 15.01.2013 14:23, schrieb Markus Armbruster:
>> It allocates with qemu_blockalign(), therefore it must free with
>> qemu_vfree(), not g_free().
>> 
>> Since I'm touching it anyway, move the free to a more obviosly correct
>> place.
>
> ...except that it's now leaked for all error cases but the first.

Brain fart caused by looking at the RHEL code, will respin.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]