diff options
author | Luiz Capitulino | 2014-03-08 18:20:06 +0100 |
---|---|---|
committer | Luiz Capitulino | 2014-03-11 14:07:42 +0100 |
commit | 2a7a1a56d1e30de07cf7d7636a35bf7706b9500e (patch) | |
tree | 39e8132d10ca83ee51fb1e00936ee103d37593a0 /target-sparc/helper.c | |
parent | qapi script: do not add "_" for every capitalized char in enum (diff) | |
download | qemu-2a7a1a56d1e30de07cf7d7636a35bf7706b9500e.tar.gz qemu-2a7a1a56d1e30de07cf7d7636a35bf7706b9500e.tar.xz qemu-2a7a1a56d1e30de07cf7d7636a35bf7706b9500e.zip |
tests: test-qmp-commands: Fix double free
The ret variable is freed twice, but on the second time we actually want
to free ret3 instead. Don't know why this didn't explode.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'target-sparc/helper.c')
0 files changed, 0 insertions, 0 deletions