From f6136f993a2f06e1d4719b3e9a76187222e9a927 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 24 Dec 2007 17:38:35 -0700 Subject: free tgsi machine state --- src/mesa/pipe/draw/draw_context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/pipe/draw') diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c index 179f7ed0d6..a9ff54404f 100644 --- a/src/mesa/pipe/draw/draw_context.c +++ b/src/mesa/pipe/draw/draw_context.c @@ -102,6 +102,7 @@ void draw_destroy( struct draw_context *draw ) draw->pipeline.validate->destroy( draw->pipeline.validate ); if (draw->pipeline.rasterize) draw->pipeline.rasterize->destroy( draw->pipeline.rasterize ); + tgsi_exec_machine_free_data(&draw->machine); FREE( draw->vcache.vertex[0] ); /* Frees all the vertices. */ FREE( draw ); } -- cgit v1.2.3