From 567a1de66606ebbb3e54140925a84f5095101532 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 10 Oct 1999 13:04:17 +0000 Subject: now using GL_MALLOC, GL_FREE --- src/mesa/main/image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/image.c') diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index b963d16c9b..781efad855 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -1,4 +1,4 @@ -/* $Id: image.c,v 1.4 1999/10/10 12:54:04 brianp Exp $ */ +/* $Id: image.c,v 1.5 1999/10/10 13:04:17 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -483,7 +483,7 @@ GLvoid *gl_pixel_addr_in_image( const struct gl_pixelstore_attrib *packing, */ static struct gl_image *alloc_image( void ) { - return (struct gl_image *) calloc(sizeof(struct gl_image), 1); + return GL_CALLOC_STRUCT(gl_image); } -- cgit v1.2.3