Unverified Commit ebf1acd3 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #6918 from chendq8/fixModuleUnregisterUsedApi

Fix module unregister used api
parents 0628030b 9947956d
......@@ -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++;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment