diff --git a/src/replication.c b/src/replication.c index f22072a0..28a37786 100644 --- a/src/replication.c +++ b/src/replication.c @@ -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; }