diff options
Diffstat (limited to 'src/mesa/drivers/dri/tdfx')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_tex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c index d8a80534bb9..f293c3f2f82 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c @@ -1213,6 +1213,7 @@ adjust2DRatio (GLcontext *ctx, } tempImage = MALLOC(newWidth * newHeight * rawBytes); if (!tempImage) { + FREE(rawImage); return GL_FALSE; } /* unpack image, apply transfer ops and store in rawImage */ |