Re: [Qemu-devel] [PATCH v7 28/31] qapi: Split visit_end_struct() into pieces

2015-12-08 Thread David Gibson
On Mon, Dec 07, 2015 at 08:55:18PM -0700, Eric Blake wrote: > As mentioned in previous patches, we want to call visit_end_struct() > functions unconditionally, so that visitors can release resources > tied up since the matching visit_start_struct() without also having > to worry about error priorit

[Qemu-devel] [PATCH v7 28/31] qapi: Split visit_end_struct() into pieces

2015-12-07 Thread Eric Blake
As mentioned in previous patches, we want to call visit_end_struct() functions unconditionally, so that visitors can release resources tied up since the matching visit_start_struct() without also having to worry about error priority if more than one error occurs. Even though error_propagate() can