[libvirt] [PATCH] qemu: Fix memory leak on metadata fetching

Michal Privoznik mprivozn at redhat.com
Thu Jul 28 14:02:05 UTC 2011


On 28.07.2011 16:00, Eric Blake wrote:
> On 07/28/2011 07:56 AM, Michal Privoznik wrote:
>> As written in virStorageFileGetMetadataFromFD decription, caller
>> must free metadata after use. Qemu driver miss this and therefore
>> leak metadata which can grow to huge mem leak if somebody query
>> for blockInfo a lot.
>> ---
>> src/qemu/qemu_driver.c | 14 ++++++++++----
>> 1 files changed, 10 insertions(+), 4 deletions(-)
>
> ACK.
>
Thanks, pushed.

Michal




More information about the libvir-list mailing list