summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.c')
-rw-r--r--src/mesa/pipe/draw/draw_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c
index 4335b47e09..0707c03e5f 100644
--- a/src/mesa/pipe/draw/draw_context.c
+++ b/src/mesa/pipe/draw/draw_context.c
@@ -80,8 +80,8 @@ void draw_destroy( struct draw_context *draw )
vf_destroy( draw->vf );
- FREE( draw->vcache.vertex[0] ); /* Frees all the vertices. */
- FREE( draw );
+ free( draw->vcache.vertex[0] ); /* Frees all the vertices. */
+ free( draw );
}