gallium: Use align_free to free aligned memory.
authorMichal Krol <michal@tungstengraphics.com>
Tue, 5 Feb 2008 14:50:56 +0000 (07:50 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 5 Feb 2008 14:50:56 +0000 (07:50 -0700)
src/mesa/pipe/draw/draw_context.c

index 87f4969983a947808d59768f64699b0e305c3328..b15f57c824896b43f62d3b923e3f3a09ea3a685c 100644 (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 );
 }