Re: [Spice-devel] [PATCH v3 1/9] Reset marshaller as soon as a message is sent

2016-12-20 Thread Frediano Ziglio
> > Any data that is added to the marshaller by reference (using e.g. > spice_marshaller_add_by_ref_full()) is freed during > spice_marshaller_reset(). But the marshaller is not currently reset > until we begin to send the next message (in > red_channel_client_send_item()). This means that the sen

[Spice-devel] [PATCH v3 1/9] Reset marshaller as soon as a message is sent

2016-12-19 Thread Jonathon Jongsma
Any data that is added to the marshaller by reference (using e.g. spice_marshaller_add_by_ref_full()) is freed during spice_marshaller_reset(). But the marshaller is not currently reset until we begin to send the next message (in red_channel_client_send_item()). This means that the sent message dat