From 9c0b83556dae35cf7260567f30fc156efa8c9742 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 19 Jan 2004 17:41:02 +0000 Subject: [PATCH] replace CALLOC with MALLOC in _mesa_new_texture_object() --- src/mesa/main/texobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 35323e2..98e49cd 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -64,7 +64,7 @@ struct gl_texture_object * _mesa_new_texture_object( GLcontext *ctx, GLuint name, GLenum target ) { struct gl_texture_object *obj; - obj = CALLOC_STRUCT(gl_texture_object); + obj = MALLOC_STRUCT(gl_texture_object); _mesa_initialize_texture_object(obj, name, target); return obj; } -- 2.7.4