aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-03-22 12:51:05 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2012-03-27 09:13:48 -0300
commit8b714d3747e6870db85dd9382adb8ee371633092 (patch)
tree5cf89bbeb3516c49b8ae87931aac73e40ce7e5cb /scripts/qapi-visit.py
parent2c7ff93359e820f90bfb4ac9efd6ec35949e5630 (diff)
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/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions