diff options
author | Greg Kurz | 2017-07-14 09:50:40 +0200 |
---|---|---|
committer | David Gibson | 2017-07-17 07:07:05 +0200 |
commit | df8658de43db242ea82183d75cc957c2b0fa013a (patch) | |
tree | 4b9beb71756951d5aad7849a345ac0a8b9f5abc6 /include/hw/misc | |
parent | pseries: Allow HPT resizing with KVM (diff) | |
download | qemu-df8658de43db242ea82183d75cc957c2b0fa013a.tar.gz qemu-df8658de43db242ea82183d75cc957c2b0fa013a.tar.xz qemu-df8658de43db242ea82183d75cc957c2b0fa013a.zip |
spapr: fix memory leak in spapr_core_pre_plug()
In case of error, we must ensure the dynamically allocated base_core_type
is freed, like it is done everywhere else in this function.
This is a regression introduced in QEMU 2.9 by commit 8149e2992f78.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/misc')
0 files changed, 0 insertions, 0 deletions