MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / moduleFreeModuleStructure

Function moduleFreeModuleStructure

src/module.cpp:8710–8717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8708}
8709
8710void moduleFreeModuleStructure(struct RedisModule *module) {
8711 listRelease(module->types);
8712 listRelease(module->filters);
8713 listRelease(module->usedby);
8714 listRelease(module->usingMods);
8715 sdsfree(module->name);
8716 zfree(module);
8717}
8718
8719void moduleUnregisterCommands(struct RedisModule *module) {
8720 /* Unregister all the commands registered by this module. */

Callers 2

moduleLoadFunction · 0.85
moduleUnloadFunction · 0.85

Calls 3

listReleaseFunction · 0.85
sdsfreeFunction · 0.85
zfreeFunction · 0.85

Tested by

no test coverage detected