summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/zmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmalloc.c b/src/zmalloc.c
index afa9fda80..43d60a9c6 100644
--- a/src/zmalloc.c
+++ b/src/zmalloc.c
@@ -166,7 +166,7 @@ void *zrealloc(void *ptr, size_t size) {
realptr = (char*)ptr-PREFIX_SIZE;
oldsize = *((size_t*)realptr);
newptr = realloc(realptr,size+PREFIX_SIZE);
- if (!newptr) zmalloc_oom(size);
+ if (!newptr) zmalloc_oom_handler(size);
*((size_t*)newptr) = size;
update_zmalloc_stat_free(oldsize);