Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions

This commit is contained in:
Kristian Høgsberg
2010-02-19 11:58:49 -05:00
parent 6bf1ea897f
commit 32f2fd1c5d
132 changed files with 624 additions and 691 deletions

View File

@@ -208,14 +208,14 @@ _mesa_delete_buffer_object( GLcontext *ctx, struct gl_buffer_object *bufObj )
(void) ctx;
if (bufObj->Data)
_mesa_free(bufObj->Data);
free(bufObj->Data);
/* assign strange values here to help w/ debugging */
bufObj->RefCount = -1000;
bufObj->Name = ~0;
_glthread_DESTROY_MUTEX(bufObj->Mutex);
_mesa_free(bufObj);
free(bufObj);
}