Re: [Spice-devel] [PATCH 15/16] worker: simplify RedCompressBuf

2015-11-19 Thread Christophe Fergeau
Hey, On Tue, Nov 10, 2015 at 03:31:26PM +0100, Marc-André Lureau wrote: > On Tue, Nov 10, 2015 at 3:16 PM, Frediano Ziglio wrote: > > From: Christophe Fergeau > > > > Make sure an allocated buffer is correctly referenced by the marshaller, > > and can't be free and reused by mistake. Simplify th

Re: [Spice-devel] [PATCH 15/16] worker: simplify RedCompressBuf

2015-11-10 Thread Frediano Ziglio
> > Hi > > On Tue, Nov 10, 2015 at 3:16 PM, Frediano Ziglio wrote: > > From: Christophe Fergeau > > > > Make sure an allocated buffer is correctly referenced by the marshaller, > > and can't be free and reused by mistake. Simplify the code by using > > GSlice > > Please wait until Christophe c

Re: [Spice-devel] [PATCH 15/16] worker: simplify RedCompressBuf

2015-11-10 Thread Marc-André Lureau
Hi On Tue, Nov 10, 2015 at 3:16 PM, Frediano Ziglio wrote: > From: Christophe Fergeau > > Make sure an allocated buffer is correctly referenced by the marshaller, > and can't be free and reused by mistake. Simplify the code by using > GSlice Please wait until Christophe confirm he wrote this pa

[Spice-devel] [PATCH 15/16] worker: simplify RedCompressBuf

2015-11-10 Thread Frediano Ziglio
From: Christophe Fergeau Make sure an allocated buffer is correctly referenced by the marshaller, and can't be free and reused by mistake. Simplify the code by using GSlice --- server/display-channel.h | 3 -- server/red_worker.c | 117 --- 2 fi