OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0653729
)
mesa: replace MALLOC w/ CALLOC to fix valgrind warning
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 4 Sep 2008 21:25:32 +0000
(15:25 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 5 Sep 2008 14:06:24 +0000
(08:06 -0600)
src/mesa/main/arrayobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/arrayobj.c
b/src/mesa/main/arrayobj.c
index
0bc5826
..
b50e9d1
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;