projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8561bec
)
mesa: Fix memory leak in decompress-with-blit.
author
Keith Whitwell
<keithw@vmware.com>
Fri, 12 Mar 2010 18:32:10 +0000
(18:32 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 13 Mar 2010 10:40:04 +0000
(10:40 +0000)
(cherry picked from commit
f05a4ee6f2840590c90da4be2fe5c6295410a5af
)
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index c849132e74c7d96e9ff73b681dc315be93530d02..92eefca2e79068d41c20a280b98af7c6bb04777b 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_texture.c
+++ b/
src/mesa/state_tracker/st_cb_texture.c
@@
-880,6
+880,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);
}