mirror of
https://github.com/tmux/tmux.git
synced 2025-09-09 10:40:37 +00:00
A couple of memory leaks from someone in GitHub issue 4590.
This commit is contained in:
@ -248,8 +248,8 @@ cmd_capture_pane_exec(struct cmd *self, struct cmdq_item *item)
|
||||
}
|
||||
file_print_buffer(c, buf, len);
|
||||
file_print(c, "\n");
|
||||
free(buf);
|
||||
}
|
||||
free(buf);
|
||||
} else {
|
||||
bufname = NULL;
|
||||
if (args_has(args, 'b'))
|
||||
|
Reference in New Issue
Block a user