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
922e3bf5
Commit
922e3bf5
authored
May 02, 2021
by
sundb
Committed by
Oran Agra
May 03, 2021
Browse files
Fix memory leak in moduleDefragGlobals (#8853)
(cherry picked from commit
5100ef9f
)
parent
42f2ad05
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
922e3bf5
...
@@ -9205,6 +9205,7 @@ long moduleDefragGlobals(void) {
...
@@ -9205,6 +9205,7 @@ long moduleDefragGlobals(void) {
module
->
defrag_cb
(
&
defrag_ctx
);
module
->
defrag_cb
(
&
defrag_ctx
);
defragged
+=
defrag_ctx
.
defragged
;
defragged
+=
defrag_ctx
.
defragged
;
}
}
dictReleaseIterator
(
di
);
return
defragged
;
return
defragged
;
}
}
...
...
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