free tgsi machine state
authorBrian <brian.paul@tungstengraphics.com>
Tue, 25 Dec 2007 00:38:35 +0000 (17:38 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:21:21 +0000 (10:21 -0700)
src/mesa/pipe/draw/draw_context.c

index 179f7ed0d6701c84c1f9b154d9bf5cfcb2c66106..a9ff54404f61bd4fcd2080a4907746a309870cef 100644 (file)
@@ -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 );
 }