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); }