Commit d99ce093 authored by antirez's avatar antirez
Browse files

Lua debugger: ldbSendLogs() memory leak fixed.

parent 87672ade
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment