diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-12 18:32:10 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-03-13 10:40:56 +0000 |
commit | 0c9e8e6c6e704fac299e2c6224f6030541aef458 (patch) | |
tree | 7a0d3a41c82fe8767451ef5dd711bfd3dedb05b8 | |
parent | c50477c255a34444720fb944c54373462ef39fb9 (diff) |
mesa: Fix memory leak in decompress-with-blit.
(cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af)
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 0858a367a1..49c18a02f0 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -863,6 +863,8 @@ decompress_with_blit(GLcontext * ctx, GLenum target, GLint level, _mesa_unmap_pbo_dest(ctx, &ctx->Pack); + screen->tex_transfer_destroy(tex_xfer); + /* destroy the temp / dest surface */ util_destroy_rgba_surface(dst_texture, dst_surface); } |