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
d60953bf
Commit
d60953bf
authored
Jun 21, 2020
by
hwware
Committed by
Oran Agra
Oct 27, 2020
Browse files
fix memory leak in sentinel connection sharing
(cherry picked from commit
1bfa2d27
) (cherry picked from commit
d3aa3791
)
parent
89c68ba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
d60953bf
...
...
@@ -1061,6 +1061,7 @@ int sentinelTryConnectionSharing(sentinelRedisInstance *ri) {
releaseInstanceLink
(
ri
->
link
,
NULL
);
ri
->
link
=
match
->
link
;
match
->
link
->
refcount
++
;
dictReleaseIterator
(
di
);
return
C_OK
;
}
dictReleaseIterator
(
di
);
...
...
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