Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d680eb6d
Commit
d680eb6d
authored
Sep 09, 2016
by
Salvatore Sanfilippo
Committed by
GitHub
Sep 09, 2016
Browse files
Merge pull request #3492 from wyxustcsa09/fix-memory
fix memory error on module unload
parents
c6dc8d52
f9c9b4bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
d680eb6d
...
...
@@ -3085,7 +3085,7 @@ int moduleUnload(sds name) {
/* Remove from list of modules. */
serverLog
(
LL_NOTICE
,
"Module %s unloaded"
,
module
->
name
);
dictDelete
(
modules
,
module
->
name
);
dictDelete
NoFree
(
modules
,
module
->
name
);
moduleFreeModuleStructure
(
module
);
return
REDISMODULE_OK
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment