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:
d8ae972
)
gallium: Use MALLOC().
author
Michal Krol
<michal@tungstengraphics.com>
Thu, 7 Feb 2008 09:26:08 +0000
(10:26 +0100)
committer
José Fonseca
<jrfonseca@tungstengraphics.com>
Fri, 15 Feb 2008 02:22:07 +0000
(11:22 +0900)
src/mesa/pipe/p_util.h
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/p_util.h
b/src/mesa/pipe/p_util.h
index
a8938a7
..
d7da280
100644
(file)
--- a/
src/mesa/pipe/p_util.h
+++ b/
src/mesa/pipe/p_util.h
@@
-185,12
+185,12
@@
align_free(void *ptr)
/**
- * Duplicate
of a block of memory
+ * Duplicate
a block of memory.
*/
static INLINE void *
mem_dup(const void *src, uint size)
{
- void *dup =
malloc
(size);
+ void *dup =
MALLOC
(size);
if (dup)
memcpy(dup, src, size);
return dup;