diff options
author | Michael Roth <mdroth@linux.vnet.ibm.com> | 2011-09-19 19:03:10 -0500 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-04 11:00:46 -0300 |
commit | 0b9d854230737b214c01e89f0b679ea36fd59e5e (patch) | |
tree | 8ef0b27702f10ba3ffb4a1264aa7419cc3c834cc /scripts | |
parent | 5cd5f0d059ecb9ce8cc214b5e7b8b6d473b50964 (diff) |
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