summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2018-06-12 19:01:26 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2018-06-16 16:32:33 +1000
commit2c9dfdacc5a9f4db941c8f80597abae4658954ac (patch)
treedccc2537173fc140103cac35d27568d57c76ce44 /scripts/qapi/commands.py
parente493786c9585d3f1d1a951c46c656821a47f5b34 (diff)
downloadfocaccia-qemu-2c9dfdacc5a9f4db941c8f80597abae4658954ac.tar.gz
focaccia-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 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions