Re: [Pixman] [PATCH] Plug leak in the alphamap test.

2010-10-26 Thread Soeren Sandmann
Jon TURNEY writes: > Even with this fix, the cygwin tinderbox is still failing (silently) > [1]. The alphamap process grows to 2G in size and then mmap() starts > failing. > > It looks like this is because we are still leaking the alphamap > pixmaps. Attached is a patch to fix this, although I a

Re: [Pixman] [PATCH] Plug leak in the alphamap test.

2010-10-24 Thread Jon TURNEY
On 08/10/2010 12:53, Soeren Sandmann wrote: static pixman_image_t * make_image (pixman_format_code_t format) { uint32_t *bits; uint8_t bpp = PIXMAN_FORMAT_BPP (format) / 8; +pixman_image_t *image; bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp); -retu

Re: [Pixman] [PATCH] Plug leak in the alphamap test.

2010-10-08 Thread Soeren Sandmann
Søren Sandmann writes: > static pixman_image_t * > make_image (pixman_format_code_t format) > { > uint32_t *bits; > uint8_t bpp = PIXMAN_FORMAT_BPP (format) / 8; > +pixman_image_t *image; > > bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp); > > -return pi

[Pixman] [PATCH] Plug leak in the alphamap test.

2010-10-08 Thread Søren Sandmann
From: Søren Sandmann Pedersen The images are being created with non-NULL data, so we have to free it outselves. This is important because the Cygwin tinderbox is running out of memory and produces this: mmap failed on 2 1507328 mmap failed on 4 1507328 mmap failed on 2 15