mesa: s/MALLOC/malloc/
v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user