summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_tex.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_tex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_tex.c b/src/mesa/drivers/dri/r128/r128_tex.c
index 51c55141d8..c5fb0dbffe 100644
--- a/src/mesa/drivers/dri/r128/r128_tex.c
+++ b/src/mesa/drivers/dri/r128/r128_tex.c
@@ -578,6 +578,8 @@ static void r128DDDeleteTexture( GLcontext *ctx,
driDestroyTextureObject( t );
}
+ /* Free mipmap images and the texture object itself */
+ _mesa_delete_texture_object(ctx, tObj);
}
void r128DDInitTextureFuncs( GLcontext *ctx )