projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e5d1e
)
Fix memory leak.
author
Alan Hourihane
<alanh@vmware.com>
Fri, 20 Nov 2009 18:08:29 +0000
(18:08 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Fri, 20 Nov 2009 18:08:29 +0000
(18:08 +0000)
src/gallium/drivers/softpipe/sp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_state_fs.c
b/src/gallium/drivers/softpipe/sp_state_fs.c
index
256faa9
..
b41f7e8
100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_state_fs.c
+++ b/
src/gallium/drivers/softpipe/sp_state_fs.c
@@
-143,6
+143,7
@@
softpipe_delete_vs_state(struct pipe_context *pipe, void *vs)
struct sp_vertex_shader *state = (struct sp_vertex_shader *) vs;
draw_delete_vertex_shader(softpipe->draw, state->draw_data);
+ FREE( (void *)state->shader.tokens );
FREE( state );
}