projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2282fb7
)
llvmpipe: Fix memory leak.
author
José Fonseca
<jfonseca@vmware.com>
Sun, 15 Nov 2009 14:46:48 +0000
(06:46 -0800)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 24 Nov 2009 14:25:20 +0000
(14:25 +0000)
src/gallium/drivers/llvmpipe/lp_state_vs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_vs.c
b/src/gallium/drivers/llvmpipe/lp_state_vs.c
index 15c30296144117462f3b9f9bad4d3be86f4af877..8a761648e7ebe55cc00435881d8d57fd72ab09cd 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_vs.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_vs.c
@@
-92,5
+92,6
@@
llvmpipe_delete_vs_state(struct pipe_context *pipe, void *vs)
(struct lp_vertex_shader *)vs;
draw_delete_vertex_shader(llvmpipe->draw, state->draw_data);
+ FREE( (void *)state->shader.tokens );
FREE( state );
}