diff options
| author | Paolo Bonzini | 2012-03-22 12:51:07 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2012-03-27 14:14:06 +0200 |
| commit | 69b50071d8dc1b4e06724bb73cda8e2f10fe30c7 (patch) | |
| tree | 1ae6144a524792cba5f5817382a77d8d1aafde2f /docs | |
| parent | qapi: shortcut visits on errors (diff) | |
| download | qemu-69b50071d8dc1b4e06724bb73cda8e2f10fe30c7.tar.gz qemu-69b50071d8dc1b4e06724bb73cda8e2f10fe30c7.tar.xz qemu-69b50071d8dc1b4e06724bb73cda8e2f10fe30c7.zip | |
qapi: allow freeing partially-allocated objects
Objects going through the dealloc visitor can be only partially allocated.
Detect the situation and avoid a segfault. This also helps with the
input visitor, when there are errors.
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 'docs')
0 files changed, 0 insertions, 0 deletions
