commit | 0b9d854230737b214c01e89f0b679ea36fd59e5e | [log] [tgz] |
---|---|---|
author | Michael Roth <mdroth@linux.vnet.ibm.com> | Mon Sep 19 19:03:10 2011 -0500 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Tue Oct 04 11:00:46 2011 -0300 |
tree | 8ef0b27702f10ba3ffb4a1264aa7419cc3c834cc | |
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>