From: Brian Paul Date: Tue, 30 May 2006 21:58:55 +0000 (+0000) Subject: free convolved image / fix mem leak (bug 7077) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8333012b56ba41380859eb78dd42b76d84788877;p=mesa.git free convolved image / fix mem leak (bug 7077) --- diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index be6c2649d63..eec40855759 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 */