mirror of
https://github.com/tmux/tmux.git
synced 2025-09-07 18:37:03 +00:00
xfree is not particularly helpful, remove it. From Thomas Adam.
This commit is contained in:
@ -56,7 +56,7 @@ cmd_link_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
dflag = args_has(self->args, 'd');
|
||||
if (server_link_window(src, wl, dst, idx, kflag, !dflag, &cause) != 0) {
|
||||
ctx->error(ctx, "can't link window: %s", cause);
|
||||
xfree(cause);
|
||||
free(cause);
|
||||
return (-1);
|
||||
}
|
||||
recalculate_sizes();
|
||||
|
Reference in New Issue
Block a user