diff options
-rw-r--r-- | src/zmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmalloc.c b/src/zmalloc.c index a08ae489e..56fb0798d 100644 --- a/src/zmalloc.c +++ b/src/zmalloc.c @@ -165,7 +165,7 @@ void *zrealloc(void *ptr, size_t size) { *((size_t*)newptr) = size; update_zmalloc_stat_free(oldsize); - update_zmalloc_stat_alloc(size); + update_zmalloc_stat_alloc(size+PREFIX_SIZE); return (char*)newptr+PREFIX_SIZE; #endif } |