Diskless replica: fix mispelled var name.

This commit is contained in:
antirez 2019-07-10 09:34:21 +02:00
parent dfcbeaf115
commit 3300e98ff0

View File

@ -264,7 +264,7 @@ void rioFreeFd(rio *r, sds *remaining) {
*remaining = r->io.fd.buf; *remaining = r->io.fd.buf;
} else { } else {
sdsfree(r->io.fd.buf); sdsfree(r->io.fd.buf);
if (out_remainingBufferedData) *remaining = NULL; if (remaining) *remaining = NULL;
} }
r->io.fd.buf = NULL; r->io.fd.buf = NULL;
} }