[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] block/qcow.c: Fix memory leak in qcow_create()
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH] block/qcow.c: Fix memory leak in qcow_create() |
Date: |
Tue, 6 Jun 2017 13:13:31 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 05.06.2017 um 15:55 hat Peter Maydell geschrieben:
> Coverity points out that the code path in qcow_create() for
> the magic "fat:" backing file name leaks the memory used to
> store the filename (CID 1307771). Free the memory before
> we overwrite the pointer.
>
> Signed-off-by: Peter Maydell <address@hidden>
Thanks, applied to the block branch.
Kevin