fix uninitialized info_cb var in module.c

This commit is contained in:
Oran Agra
2020-02-04 10:23:48 +01:00
committed by antirez
parent 6fe55c2f29
commit ec0c61da05
+1
View File
@@ -859,6 +859,7 @@ void RM_SetModuleAttribs(RedisModuleCtx *ctx, const char *name, int ver, int api
module->in_call = 0;
module->in_hook = 0;
module->options = 0;
module->info_cb = 0;
ctx->module = module;
}