diff options
| author | Paolo Bonzini | 2012-03-22 12:51:05 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2012-03-27 14:13:48 +0200 |
| commit | 8b714d3747e6870db85dd9382adb8ee371633092 (patch) | |
| tree | 5cf89bbeb3516c49b8ae87931aac73e40ce7e5cb /scripts | |
| parent | qapi: fail hard on stack imbalance (diff) | |
| download | qemu-8b714d3747e6870db85dd9382adb8ee371633092.tar.gz qemu-8b714d3747e6870db85dd9382adb8ee371633092.tar.xz qemu-8b714d3747e6870db85dd9382adb8ee371633092.zip | |
qapi: fix memory leak on error
QmpInputVisitor would leak the malloced struct if the stack was
overflowed. This can be easily fixed using error_propagate.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
