[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-block] [PATCH] block/qapi: Fix memory leak in qm
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-stable] [Qemu-block] [PATCH] block/qapi: Fix memory leak in qmp_query_blockstats() |
Date: |
Mon, 13 Aug 2018 15:34:58 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Mon 13 Aug 2018 03:27:54 PM CEST, Kevin Wolf wrote:
> For BlockBackends that are skipped in query-blockstats, we would leak
> info since commit 567dcb31. Allocate info only later to avoid the memory
> leak.
>
> Fixes: CID 1394727
> Cc: address@hidden
> Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Berto