summaryrefslogtreecommitdiffstats
path: root/COPYING.LIB
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2014-09-18 15:36:41 -0500
committerLuiz Capitulino <lcapitulino@redhat.com>2014-09-26 13:14:10 -0400
commit146db9f91979db89a123ea10d2b825d3670d2b36 (patch)
treea6b1d5ce3e635e4db14b9308f9bc7c7794e97635 /COPYING.LIB
parentcee2dedb85b97e4976c83bea84064c3921b8b7ac (diff)
downloadhqemu-146db9f91979db89a123ea10d2b825d3670d2b36.zip
hqemu-146db9f91979db89a123ea10d2b825d3670d2b36.tar.gz
qapi: dealloc visitor, implement visit_start_union
If the .data field of a QAPI Union is NULL, we don't need to free any of the union fields. Make use of the new visit_start_union interface to access this information and instruct the generated code to not visit these fields when this occurs. Cc: qemu-stable@nongnu.org Reported-by: Fam Zheng <famz@redhat.com> Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud