mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
PSYNC2: Minor memory leak reading -NOMASTERLINK master reply fixed.
This commit is contained in:
parent
c8f0690255
commit
6eb720ff2d
@ -1539,6 +1539,7 @@ int slaveTryPartialResynchronization(int fd, int read_reply) {
|
||||
serverLog(LL_NOTICE,
|
||||
"Master is currently unable to PSYNC "
|
||||
"but should be in the future: %s", reply);
|
||||
sdsfree(reply);
|
||||
return PSYNC_TRY_LATER;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user