X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/6fdc635447b1a5dd0a4f7b13c15fdd6c108dabee..7eb850ef0e437323e2d84157ddc2e6e82af57bbc:/src/zmalloc.c 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);