diff options
author | Greg Kurz | 2018-06-12 19:01:26 +0200 |
---|---|---|
committer | David Gibson | 2018-06-16 08:32:33 +0200 |
commit | 2c9dfdacc5a9f4db941c8f80597abae4658954ac (patch) | |
tree | dccc2537173fc140103cac35d27568d57c76ce44 /hw/ppc/mac.h | |
parent | target/ppc: drop empty #if/#endif block (diff) | |
download | qemu-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