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__ */