Skip to content
Commit 2a7526b0 authored by Greg Kurz's avatar Greg Kurz Committed by Michael Roth
Browse files

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 8149e299.

Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit df8658de)
 Conflicts:
	hw/ppc/spapr.c
* fix context dep on 459264ef
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 2e40aad2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment