[Qemu-devel] [PATCH] vnc: fix a memory leak in threaded vnc server

2011-02-25 Thread Corentin Chary
VncJobQueue's buffer is intended to be used for as the output buffer for all operations in this queue, but unfortunatly. vnc_async_encoding_start() is in charge of setting this buffer as the current output buffer, but vnc_async_encoding_end() was not writting the changes back to VncJobQueue,

Re: [Qemu-devel] [PATCH] vnc: fix a memory leak in threaded vnc server

2011-02-25 Thread Anthony Liguori
On 02/25/2011 03:54 PM, Corentin Chary wrote: VncJobQueue's buffer is intended to be used for as the output buffer for all operations in this queue, but unfortunatly. vnc_async_encoding_start() is in charge of setting this buffer as the current output buffer, but vnc_async_encoding_end() was