summaryrefslogtreecommitdiffstats
path: root/hw/ppc/mac.h
diff options
context:
space:
mode:
authorGreg Kurz2018-06-12 19:01:26 +0200
committerDavid Gibson2018-06-16 08:32:33 +0200
commit2c9dfdacc5a9f4db941c8f80597abae4658954ac (patch)
treedccc2537173fc140103cac35d27568d57c76ce44 /hw/ppc/mac.h
parenttarget/ppc: drop empty #if/#endif block (diff)
downloadqemu-2c9dfdacc5a9f4db941c8f80597abae4658954ac.tar.gz
qemu-2c9dfdacc5a9f4db941c8f80597abae4658954ac.tar.xz
qemu-2c9dfdacc5a9f4db941c8f80597abae4658954ac.zip
spapr: fix leak in h_client_architecture_support()
If the negotiated compat mode can't be set, but raw mode is supported, we decide to ignore the error. An so, we should free it to prevent a memory leak. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/mac.h')
0 files changed, 0 insertions, 0 deletions