Re: [Qemu-devel] [PATCH 09/21] qapi: dealloc visitor, support freeing of nested lists

2011-09-29 Thread Anthony Liguori
On 09/28/2011 09:44 AM, Luiz Capitulino wrote: From: Michael Roth 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. Signed-off-by: Michael

[Qemu-devel] [PATCH 09/21] qapi: dealloc visitor, support freeing of nested lists

2011-09-28 Thread Luiz Capitulino
From: Michael Roth 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. Signed-off-by: Michael Roth Signed-off-by: Luiz Capitulino --- qapi