Browse Source

llvmpipe: Fix memory leak.

tags/7.8-rc1
José Fonseca 16 years ago
parent
commit
066991c8d1
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/gallium/drivers/llvmpipe/lp_state_vs.c

+ 1
- 0
src/gallium/drivers/llvmpipe/lp_state_vs.c 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 );
}

Loading…
Cancel
Save