Merge pull request #6824 from oranagra/fix_module_c_uninit_var

fix uninitialized info_cb var in module.c
This commit is contained in:
Salvatore Sanfilippo 2020-02-03 15:46:13 +01:00 committed by GitHub
commit 726abe4deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}