projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4103350
)
i965: Don't forget to free the old singlesample_mt.
author
Eric Anholt
<eric@anholt.net>
Fri, 21 Mar 2014 22:36:24 +0000
(15:36 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 24 Mar 2014 18:15:04 +0000
(11:15 -0700)
Fixes a memory leak with MSAA winsys buffers since my move of
singlesample_mt to the rb in
4e0924c5de5f3964e4ca81f923d877dbb59fad0a
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index d4f7c600755def1986269ba90c29cd1f499c9a32..e013de49b04714e8de70c1ef47265641cd0dc952 100644
(file)
--- a/
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@
-682,6
+682,7
@@
intel_update_winsys_renderbuffer_miptree(struct brw_context *intel,
int num_samples = rb->NumSamples;
intel_miptree_release(&irb->mt);
+ intel_miptree_release(&irb->singlesample_mt);
/* Only the front and back buffers, which are color buffers, are allocated
* through the image loader.