diff options
| author | Kevin Wolf | 2018-08-13 15:23:49 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-08-15 12:50:39 +0200 |
| commit | f62492bb8d1ea7f7e156ffbdf411de46107072c5 (patch) | |
| tree | 7d839f1f9ea41aa5fa7e661339057da0064d9d82 /scripts/switch-timer-api | |
| parent | Update version for v3.0.0 release (diff) | |
| download | qemu-f62492bb8d1ea7f7e156ffbdf411de46107072c5.tar.gz qemu-f62492bb8d1ea7f7e156ffbdf411de46107072c5.tar.xz qemu-f62492bb8d1ea7f7e156ffbdf411de46107072c5.zip | |
block/qapi: Fix memory leak in qmp_query_blockstats()
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: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
