projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c95177e
)
llvmpipe: Fix geometry shader token leak.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 13 Mar 2013 21:21:17 +0000
(21:21 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 13 Mar 2013 21:46:50 +0000
(21:46 +0000)
Trivial. Matches softpipe's code.
src/gallium/drivers/llvmpipe/lp_state_gs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_gs.c
b/src/gallium/drivers/llvmpipe/lp_state_gs.c
index 1ba6f10821e8ffaf9fc89c0b456966945939c789..fd6f5f7d0da4a60f9471b211de0a45abc6fa6d56 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_gs.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_gs.c
@@
-99,6
+99,7
@@
llvmpipe_delete_gs_state(struct pipe_context *pipe, void *gs)
draw_delete_geometry_shader(llvmpipe->draw,
(state) ? state->draw_data : 0);
+ FREE( (void *)state->shader.tokens );
FREE(state);
}