mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
Memory leak in error path, from Tiago Cunha.
This commit is contained in:
parent
70d232289b
commit
480e48aa66
@ -61,6 +61,7 @@ cmd_set_buffer_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
if (cause != NULL) {
|
||||
ctx->error(ctx, "buffer %s", cause);
|
||||
xfree(cause);
|
||||
xfree(pdata);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user