Hi

On Mon, Dec 21, 2015 at 6:08 PM, Eric Blake <ebl...@redhat.com> wrote:
> Cache the visitor in a local variable instead of repeatedly
> calling the accessor.  Pass NULL for the visit_start_struct()
> object (which matches the fact that we were already passing 0
> for the size argument, because we aren't using the visit to
> allocate a qapi struct).  Guarantee that visit_end_struct()
> is called if visit_start_struct() succeeded.
>
> Signed-off-by: Eric Blake <ebl...@redhat.com>
>

Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com>



-- 
Marc-André Lureau

Reply via email to