aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-03-22 12:51:07 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2012-03-27 09:14:06 -0300
commit69b50071d8dc1b4e06724bb73cda8e2f10fe30c7 (patch)
tree1ae6144a524792cba5f5817382a77d8d1aafde2f /qapi
parentb6f0474fc0fe6f81d93d620a5d24bc30b22d561b (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