mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
fix uninitialized info_cb var in module.c
This commit is contained in:
parent
53ac8c7df2
commit
138ed120dd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user