mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +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,
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user