From: Brian Date: Tue, 25 Dec 2007 00:38:35 +0000 (-0700) Subject: free tgsi machine state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6136f993a2f06e1d4719b3e9a76187222e9a927;p=mesa.git free tgsi machine state --- diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c index 179f7ed0d67..a9ff54404f6 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 ); }