projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c074b86
)
mesa: use CALLOC instead of MALLOC to fix valgrind warning
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 1 Sep 2008 19:10:23 +0000
(13:10 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 1 Sep 2008 19:10:54 +0000
(13:10 -0600)
src/mesa/main/arrayobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/arrayobj.c
b/src/mesa/main/arrayobj.c
index d62661e2b52b98d8dc806d93b79ccead6c07a1cf..af2feb35538825bcca9222fbc359fa546148dd80 100644
(file)
--- a/
src/mesa/main/arrayobj.c
+++ b/
src/mesa/main/arrayobj.c
@@
-77,7
+77,7
@@
lookup_arrayobj(GLcontext *ctx, GLuint id)
struct gl_array_object *
_mesa_new_array_object( GLcontext *ctx, GLuint name )
{
- struct gl_array_object *obj =
M
ALLOC_STRUCT(gl_array_object);
+ struct gl_array_object *obj =
C
ALLOC_STRUCT(gl_array_object);
if (obj)
_mesa_initialize_array_object(ctx, obj, name);
return obj;