Re: [Spice-devel] [PATCHv2 spice] Validate RedDrawable before allocating drawable

2014-10-27 Thread Christophe Fergeau
On Fri, Oct 24, 2014 at 03:46:50PM +0200, Marc-André Lureau wrote: > Avoid unnecessary allocation (and possibly leaking) if the RedDrawable > is not valid. ACK. Christophe pgp9ddNgfV7d2.pgp Description: PGP signature ___ Spice-devel mailing list Spice

[Spice-devel] [PATCHv2 spice] Validate RedDrawable before allocating drawable

2014-10-24 Thread Marc-André Lureau
Avoid unnecessary allocation (and possibly leaking) if the RedDrawable is not valid. Related to: rhbz#1135372 --- server/red_worker.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index e177b68..9f18495 1006