summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Roth2011-09-20 02:03:10 +0200
committerLuiz Capitulino2011-10-04 16:00:46 +0200
commit0b9d854230737b214c01e89f0b679ea36fd59e5e (patch)
tree8ef0b27702f10ba3ffb4a1264aa7419cc3c834cc /scripts
parentqapi: add test cases for generated free functions (diff)
downloadqemu-0b9d854230737b214c01e89f0b679ea36fd59e5e.tar.gz
qemu-0b9d854230737b214c01e89f0b679ea36fd59e5e.tar.xz
qemu-0b9d854230737b214c01e89f0b679ea36fd59e5e.zip
qapi: dealloc visitor, support freeing of nested lists
Previously our logic for keeping track of when we're visiting the head of a list was done via a global bool. This can be overwritten if dealing with nested lists, so use stack entries to track this instead. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions