From 30212f795727d9bc6ed98eb77b12415de0809c80 Mon Sep 17 00:00:00 2001 From: Itamar Haber Date: Sat, 6 May 2017 22:57:52 +0300 Subject: [PATCH] Corrects a typo in InitAlloc's name --- rmutil/alloc.c | 2 +- rmutil/alloc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rmutil/alloc.c b/rmutil/alloc.c index 27f8ef1..e2e0499 100644 --- a/rmutil/alloc.c +++ b/rmutil/alloc.c @@ -22,7 +22,7 @@ char *rmalloc_strndup(const char *s, size_t n) { * replaces all malloc functions in redis with the RM_Alloc family of functions, * when running that code outside of redis, your app will crash. This function * patches the RM_Alloc functions back to the original mallocs. */ -void RMUTil_InitAlloc() { +void RMUtil_InitAlloc() { RedisModule_Alloc = malloc; RedisModule_Realloc = realloc; diff --git a/rmutil/alloc.h b/rmutil/alloc.h index 1a363d2..d010193 100644 --- a/rmutil/alloc.h +++ b/rmutil/alloc.h @@ -44,7 +44,7 @@ char *rmalloc_strndup(const char *s, size_t n); /* This function shold be called if you are working with malloc-patched code * ouside of redis, usually for unit tests. Call it once when entering your unit * tests' main() */ -void RMUTil_InitAlloc(); +void RMUtil_InitAlloc(); #endif /* REDIS_MODULE_TARGET */ #endif /* __RMUTIL_ALLOC__ */