mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-22 18:47:14 +00:00
Another memory leak from Tiago Cunha.
This commit is contained in:
parent
423649b2c6
commit
9800eaa63f
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ cmd_capture_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||
buffer = args_strtonum(args, 'b', 0, INT_MAX, &cause);
|
||||
if (cause != NULL) {
|
||||
ctx->error(ctx, "buffer %s", cause);
|
||||
xfree(buf);
|
||||
xfree(cause);
|
||||
return (-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue