diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-02-03 15:46:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 15:46:13 +0100 |
commit | 726abe4deb0085a070983b48e33bc543ba9a5813 (patch) | |
tree | 870f27257115fc76e4f1e50a5d0173e3d973c608 | |
parent | 53ac8c7df293577a5fc0d92604a8cfd452116a8f (diff) | |
parent | 138ed120dd6ca084e2d2e7fa78a4a1e9dd87d2a3 (diff) | |
download | redis-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.c | 1 |
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; } |