Mesa (master): llvmpipe: Fix memory leak.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Tue Nov 24 06:26:52 PST 2009
Module: Mesa
Branch: master
Commit: 066991c8d147db94b9661361bb191919b962fc4e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=066991c8d147db94b9661361bb191919b962fc4e
Author: José Fonseca <jfonseca at vmware.com>
Date: Sun Nov 15 06:46:48 2009 -0800
llvmpipe: Fix memory leak.
---
src/gallium/drivers/llvmpipe/lp_state_vs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_state_vs.c b/src/gallium/drivers/llvmpipe/lp_state_vs.c
index 15c3029..8a76164 100644
--- 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 );
}
More information about the mesa-commit
mailing list