llvmpipe: Fix memory leak.

This commit is contained in:
José Fonseca 2009-11-15 06:46:48 -08:00
parent 2282fb7710
commit 066991c8d1
1 changed files with 1 additions and 0 deletions

View File

@ -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 );
}