From: Michal Krol Date: Tue, 5 Feb 2008 14:50:56 +0000 (-0700) Subject: gallium: Use align_free to free aligned memory. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45b18c51c0f49731cb8fc0144d678da5fa814992;p=mesa.git gallium: Use align_free to free aligned memory. --- diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c index 87f4969983a..b15f57c8248 100644 --- a/src/mesa/pipe/draw/draw_context.c +++ b/src/mesa/pipe/draw/draw_context.c @@ -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 ); }