Lua debugger: ldbSendLogs() memory leak fixed.

This commit is contained in:
antirez 2015-11-13 10:18:32 +01:00
parent 87672adee2
commit d99ce09343

View File

@ -1540,6 +1540,7 @@ void ldbSendLogs(void) {
listDelNode(ldb.logs,ln);
}
write(ldb.fd,proto,sdslen(proto));
sdsfree(proto);
}
/* Start a debugging session before calling EVAL implementation.