Skip to content
Snippets Groups Projects
Commit 426bb27d authored by Marek Vavruša's avatar Marek Vavruša
Browse files

daemon: fixed memleak in CLI

parent 7a2bafc2
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ static void tty_read(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
cmd[nread - 1] = '\0';
/* Execute */
engine_cmd((struct engine *)stream->data, cmd);
free(buf->base);
}
printf("> ");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment