diff options
author | Brian Paul <[email protected]> | 2006-05-30 21:58:55 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-05-30 21:58:55 +0000 |
commit | 8333012b56ba41380859eb78dd42b76d84788877 (patch) | |
tree | 8c5843c7c23644d42ebbd96ba25b69ec6a21fa6a | |
parent | 1d0fa45bc1f54b073e026f494f5fd39b838ac976 (diff) |
free convolved image / fix mem leak (bug 7077)
-rw-r--r-- | src/mesa/swrast/s_readpix.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |