Re: [Tigervnc-devel] [PATCH] two minor valgrind fixes for vncviewer

2011-11-09 Thread Pierre Ossman
On Wed, 9 Nov 2011 12:22:49 +0100 matthieu.lochegn...@altissemiconductor.com wrote: > Hi, > > playing with valgrind around the Tight Decoder issue, it noticed those two > wrong delete/free, fixed by the very simple attached patch. > Looks correct. Thank you for spotting these. I've committed t

[Tigervnc-devel] [PATCH] two minor valgrind fixes for vncviewer

2011-11-09 Thread Matthieu . Lochegnies
Hi, playing with valgrind around the Tight Decoder issue, it noticed those two wrong delete/free, fixed by the very simple attached patch. ==6939== Mismatched free() / delete / delete [] ==6939==at 0x4A04A84: operator delete(void*) (vg_replace_malloc.c:346) ==6939==by 0x4BFB91: rfb::Secu