diff options
author | 2011-09-19 19:03:10 -0500 | |
---|---|---|
committer | 2011-10-04 11:00:46 -0300 | |
commit | 0b9d854230737b214c01e89f0b679ea36fd59e5e (patch) | |
tree | 8ef0b27702f10ba3ffb4a1264aa7419cc3c834cc /scripts/qapi-types.py | |
parent | qapi: add test cases for generated free functions (diff) | |
download | 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/qapi-types.py')
0 files changed, 0 insertions, 0 deletions