From 33bb8c051df3f2561c7b4a5ad7abefa3fce99d37 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 1 Sep 2012 07:47:24 -0600 Subject: mesa: s/MALLOC/malloc/ v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- src/mesa/main/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/errors.c') diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 8b96319ce43..950cc4f0856 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -322,7 +322,7 @@ _mesa_log_msg(struct gl_context *ctx, GLenum source, GLenum type, assert(!emptySlot->message && !emptySlot->length); - emptySlot->message = MALLOC(len+1); + emptySlot->message = malloc(len+1); if (emptySlot->message) { (void) strncpy(emptySlot->message, buf, (size_t)len); emptySlot->message[len] = '\0'; -- cgit v1.2.3