diff options
author | José Fonseca <[email protected]> | 2013-03-13 21:21:17 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-03-13 21:46:50 +0000 |
commit | 48893156192ff2ffbfaf910dbf51f5f7a904c568 (patch) | |
tree | 0fccae3d864046026c04194020a1bdcf410dc3cb | |
parent | c95177ea8897f80f153660119abb1750cb3eca70 (diff) |
llvmpipe: Fix geometry shader token leak.
Trivial. Matches softpipe's code.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_gs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_gs.c b/src/gallium/drivers/llvmpipe/lp_state_gs.c index 1ba6f10821e..fd6f5f7d0da 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_gs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_gs.c @@ -99,6 +99,7 @@ llvmpipe_delete_gs_state(struct pipe_context *pipe, void *gs) draw_delete_geometry_shader(llvmpipe->draw, (state) ? state->draw_data : 0); + FREE( (void *)state->shader.tokens ); FREE(state); } |