diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-06 08:46:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-06 08:46:47 +0400 |
commit | df29e91a697fbc89dea9c38282f3283e2fee7cc5 (patch) | |
tree | 949a95862aecbb4fbe8e93e7428687cde42c50c8 /intern/guardedalloc | |
parent | 110a1526b62aa738ac0639ba51d93e2e7611751d (diff) |
code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed.
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/intern/mallocn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c index 97ac3008072..2a6a0df0ff4 100644 --- a/intern/guardedalloc/intern/mallocn.c +++ b/intern/guardedalloc/intern/mallocn.c @@ -319,7 +319,7 @@ void *MEM_mallocN(size_t len, const char *str) #ifdef DEBUG_MEMCOUNTER if(_mallocn_count==DEBUG_MEMCOUNTER_ERROR_VAL) - memcount_raise("MEM_mallocN"); + memcount_raise(__func__); memh->_count= _mallocn_count++; #endif return (++memh); @@ -344,7 +344,7 @@ void *MEM_callocN(size_t len, const char *str) mem_unlock_thread(); #ifdef DEBUG_MEMCOUNTER if(_mallocn_count==DEBUG_MEMCOUNTER_ERROR_VAL) - memcount_raise("MEM_callocN"); + memcount_raise(__func__); memh->_count= _mallocn_count++; #endif return (++memh); @@ -374,7 +374,7 @@ void *MEM_mapallocN(size_t len, const char *str) mem_unlock_thread(); #ifdef DEBUG_MEMCOUNTER if(_mallocn_count==DEBUG_MEMCOUNTER_ERROR_VAL) - memcount_raise("MEM_mapallocN"); + memcount_raise(__func__); memh->_count= _mallocn_count++; #endif return (++memh); |