summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2020-02-03 15:46:13 +0100
committerGitHub <noreply@github.com>2020-02-03 15:46:13 +0100
commit726abe4deb0085a070983b48e33bc543ba9a5813 (patch)
tree870f27257115fc76e4f1e50a5d0173e3d973c608
parent53ac8c7df293577a5fc0d92604a8cfd452116a8f (diff)
parent138ed120dd6ca084e2d2e7fa78a4a1e9dd87d2a3 (diff)
downloadredis-726abe4deb0085a070983b48e33bc543ba9a5813.tar.gz
Merge pull request #6824 from oranagra/fix_module_c_uninit_var
fix uninitialized info_cb var in module.c
-rw-r--r--src/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c
index d922c5c20..914c50df3 100644
--- a/src/module.c
+++ b/src/module.c
@@ -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;
}