commit | 8b714d3747e6870db85dd9382adb8ee371633092 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Mar 22 12:51:05 2012 +0100 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Tue Mar 27 09:13:48 2012 -0300 |
tree | 5cf89bbeb3516c49b8ae87931aac73e40ce7e5cb | |
parent | 2c7ff93359e820f90bfb4ac9efd6ec35949e5630 [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>