summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/pipebuffer
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-01-29 16:41:10 +0100
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:25 +1100
commitfc36399f232942b3ff3975aac9e685d5f1363816 (patch)
treef410bfd310994beea417aea1a3e681742d1ba042 /src/mesa/pipe/pipebuffer
parenta5273f0fac01f5864a1cfcb82d9302dd755375e9 (diff)
gallium: Fix build on WinXP.
Diffstat (limited to 'src/mesa/pipe/pipebuffer')
-rw-r--r--src/mesa/pipe/pipebuffer/pb_buffer_fenced.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c b/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
index 349647fe6e..4cf4222db9 100644
--- a/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
+++ b/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
@@ -145,7 +145,7 @@ _fenced_buffer_list_check_free(struct fenced_buffer_list *fenced_list,
/* Do the delayed destroy:
*/
pb_reference(&fenced_buf->buffer, NULL);
- free(fenced_buf);
+ FREE(fenced_buf);
}
}
@@ -162,7 +162,7 @@ fenced_buffer_destroy(struct pb_buffer *buf)
}
else {
pb_reference(&fenced_buf->buffer, NULL);
- free(fenced_buf);
+ FREE(fenced_buf);
}
if ((fenced_list->numDelayed % fenced_list->checkDelayed) == 0)