diff options
-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); } |