diff options
author | Binbin <binloveplay1314@qq.com> | 2022-08-18 17:36:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 12:36:01 +0300 |
commit | fc3956e8f4d35ea66967bb26f26175ad184f8978 (patch) | |
tree | 07e0b910be7815e6f1fac56f92b29abccbb00344 /tests/modules | |
parent | 508a138885b33666923ab92720c8c3263dc5bd56 (diff) | |
download | redis-fc3956e8f4d35ea66967bb26f26175ad184f8978.tar.gz |
Fix memory leak in moduleFreeCommand (#11147)
Currently, we call zfree(cmd->args), but the argument array
needs to be freed recursively (there might be sub-args).
Also fixed memory leaks on cmd->tips and cmd->history.
Fixes #11145
Diffstat (limited to 'tests/modules')
0 files changed, 0 insertions, 0 deletions