From 8333012b56ba41380859eb78dd42b76d84788877 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 30 May 2006 21:58:55 +0000 Subject: free convolved image / fix mem leak (bug 7077) --- src/mesa/swrast/s_readpix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/swrast') diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index be6c2649d6..eec4085575 100644 --- a/src/mesa/swrast/s_readpix.c +++ b/src/mesa/swrast/s_readpix.c @@ -356,6 +356,7 @@ read_rgba_pixels( GLcontext *ctx, transferOps & IMAGE_POST_CONVOLUTION_BITS); src += width * 4; } + _mesa_free(convImage); } else { /* no convolution */ -- cgit v1.2.3