summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2009-11-20 18:08:29 +0000
committerAlan Hourihane <[email protected]>2009-11-20 18:08:29 +0000
commita24631bcd7ab2cbc6fff2a536502a07a13a9bc83 (patch)
tree7d98d9f930ae3c0932ab9da422aff189a2bb4aef /src/gallium/drivers
parent08e5d1ecad79d1c08541ba08a436f5145c5c9376 (diff)
Fix memory leak.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_fs.c b/src/gallium/drivers/softpipe/sp_state_fs.c
index 256faa94b84..b41f7e8ab72 100644
--- 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 );
}