X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/6fdc635447b1a5dd0a4f7b13c15fdd6c108dabee..4b1f6ad3e7a5c7c28618e43e7539c9a937bf8521:/src/zmalloc.c?ds=sidebyside 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);