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
6eb720ff
Commit
6eb720ff
authored
Nov 29, 2016
by
antirez
Browse files
PSYNC2: Minor memory leak reading -NOMASTERLINK master reply fixed.
parent
c8f06902
Changes
1
Show whitespace changes
Inline
Side-by-side
src/replication.c
View file @
6eb720ff
...
@@ -1539,6 +1539,7 @@ int slaveTryPartialResynchronization(int fd, int read_reply) {
...
@@ -1539,6 +1539,7 @@ int slaveTryPartialResynchronization(int fd, int read_reply) {
serverLog
(
LL_NOTICE
,
serverLog
(
LL_NOTICE
,
"Master is currently unable to PSYNC "
"Master is currently unable to PSYNC "
"but should be in the future: %s"
,
reply
);
"but should be in the future: %s"
,
reply
);
sdsfree
(
reply
);
return
PSYNC_TRY_LATER
;
return
PSYNC_TRY_LATER
;
}
}
...
...
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