diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-03-13 12:46:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 12:46:27 +0100 |
commit | ebf1acd33c9b0ae1581b55386090dd5bfecf44e0 (patch) | |
tree | 9d154977821bd1fa68d53af40ca582aaa831530d | |
parent | 0628030bf4b35a1f2115a3857152b23411efdf45 (diff) | |
parent | 9947956d7bb7e6637139b6d4dcdfe2e1f3e2dd47 (diff) | |
download | redis-ebf1acd33c9b0ae1581b55386090dd5bfecf44e0.tar.gz |
Merge pull request #6918 from chendq8/fixModuleUnregisterUsedApi
Fix module unregister used api
-rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index bbd54082c..74da6c24d 100644 --- a/src/module.c +++ b/src/module.c @@ -6234,7 +6234,7 @@ int moduleUnregisterUsedAPI(RedisModule *module) { RedisModule *used = ln->value; listNode *ln = listSearchKey(used->usedby,module); if (ln) { - listDelNode(module->using,ln); + listDelNode(used->usedby,ln); count++; } } |