From 56322ca051d893d15890a566b023257d5fd54471 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 22 Jul 2006 17:04:18 +0000 Subject: [PATCH] Minor fix: default name for dupli-alloc was mixed up, using mapalloc for malloc, and vice versa. --- intern/guardedalloc/intern/mallocn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c index 39cf77fc72e..752efd6ccb8 100644 --- a/intern/guardedalloc/intern/mallocn.c +++ b/intern/guardedalloc/intern/mallocn.c @@ -188,9 +188,9 @@ void *MEM_dupallocN(void *vmemh) memh--; if(memh->mmap) - newp= MEM_mapallocN(memh->len, "dupli_alloc"); + newp= MEM_mapallocN(memh->len, "dupli_mapalloc"); else - newp= MEM_mallocN(memh->len, "dupli_mapalloc"); + newp= MEM_mallocN(memh->len, "dupli_alloc"); memcpy(newp, vmemh, memh->len); }