From 1caa627e4e53c479f1ee1f1f80b1b980d55eef7f Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 24 Aug 2012 15:40:22 +0200 Subject: [PATCH] Fix a forget zmalloc_oom() -> zmalloc_oom_handler() replacement. --- src/zmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zmalloc.c b/src/zmalloc.c index afa9fda8..43d60a9c 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); -- 2.45.2