gallium: Use MALLOC().

This commit is contained in:
Michal Krol
2008-02-07 10:26:08 +01:00
committed by José Fonseca
parent d8ae972fd0
commit 3f1b712d0a
+2 -2
View File
@@ -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;