gallium: Use align_free to free aligned memory.

This commit is contained in:
Michal Krol 2008-02-05 07:50:56 -07:00 committed by Ben Skeggs
parent 535abe4037
commit 7a1b2f4078

View file

@ -106,7 +106,7 @@ void draw_destroy( struct draw_context *draw )
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. */
align_free( draw->vcache.vertex[0] ); /* Frees all the vertices. */
FREE( draw );
}