diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-22 12:51:07 +0100 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-03-27 09:14:06 -0300 |
commit | 69b50071d8dc1b4e06724bb73cda8e2f10fe30c7 (patch) | |
tree | 1ae6144a524792cba5f5817382a77d8d1aafde2f /qapi | |
parent | b6f0474fc0fe6f81d93d620a5d24bc30b22d561b (diff) |
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 'qapi')
0 files changed, 0 insertions, 0 deletions