Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
09e435c8
Commit
09e435c8
authored
Apr 16, 2018
by
zhaozhao.zz
Committed by
Oran Agra
Jun 01, 2021
Browse files
Modules: free node after module loaded from server.loadmodule_queue
parent
1ddecf19
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
09e435c8
...
...
@@ -8491,6 +8491,13 @@ void moduleLoadFromQueue(void) {
loadmod->path);
exit(1);
}
sdsfree(loadmod->path);
for (int i = 0; i < loadmod->argc; i++) {
decrRefCount(loadmod->argv[i]);
}
zfree(loadmod->argv);
zfree(loadmod);
listDelNode(server.loadmodule_queue, ln);
}
}
...
...
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