diff options
author | Michal Krol <[email protected]> | 2008-02-07 10:26:08 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-15 11:22:07 +0900 |
commit | 3f1b712d0a47b440875e58429debd9a145192724 (patch) | |
tree | b19e6c56470fd070ac48da1e1e1929121f697a1b /src/mesa | |
parent | d8ae972fd067a2478d1b0b4a35fec47ac2c814f7 (diff) |
gallium: Use MALLOC().
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/p_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h index a8938a7e43b..d7da2801c92 100644 --- 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; |