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

2011-10-05 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. Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth Signed-off-

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

2011-09-30 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. Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth Signed-off-