projects
/
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 256faa94b84207cda61ca4b27bdb712cd3a4a8eb..b41f7e8ab726c5feacffb388479bcd13c97ac684 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 );
}