summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-05-30 21:58:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-05-30 21:58:55 +0000
commit8333012b56ba41380859eb78dd42b76d84788877 (patch)
tree8c5843c7c23644d42ebbd96ba25b69ec6a21fa6a
parent1d0fa45bc1f54b073e026f494f5fd39b838ac976 (diff)
free convolved image / fix mem leak (bug 7077)
-rw-r--r--src/mesa/swrast/s_readpix.c1
1 files changed, 1 insertions, 0 deletions
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 */