projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1550de9
)
llvmpipe: fix surface memory leak during tear-down
author
Brian Paul
<brianp@vmware.com>
Wed, 28 Apr 2010 21:14:58 +0000
(15:14 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 28 Apr 2010 21:25:50 +0000
(15:25 -0600)
src/gallium/drivers/llvmpipe/lp_setup.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup.c
b/src/gallium/drivers/llvmpipe/lp_setup.c
index 611ec8c0190314c1dd940382c85f2d9a4d9c10c1..6f162482f46296938da24477f67453dec89d36f0 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup.c
@@
-762,6
+762,8
@@
lp_setup_destroy( struct lp_setup_context *setup )
reset_context( setup );
+ util_unreference_framebuffer_state(&setup->fb);
+
for (i = 0; i < Elements(setup->fs.current_tex); i++) {
pipe_resource_reference(&setup->fs.current_tex[i], NULL);
}