summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/pipebuffer
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-01-29 16:41:10 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-01-30 16:00:00 +0900
commit17ef840af40c9228ee0f4f7453bc00e318d9e6c4 (patch)
treefcd6dc284f7049d2f8e3c8d2e4891cbd06265a97 /src/mesa/pipe/pipebuffer
parent7f2713a29ff46a608de0feac2f56f034dbc738cb (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)