mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
free -> xfree.
This commit is contained in:
parent
03dca66ae2
commit
18012f5b18
@ -133,7 +133,7 @@ cmd_new_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
|
|
||||||
cp = format_expand(ft, template);
|
cp = format_expand(ft, template);
|
||||||
ctx->print(ctx, "%s", cp);
|
ctx->print(ctx, "%s", cp);
|
||||||
free(cp);
|
xfree(cp);
|
||||||
|
|
||||||
format_free(ft);
|
format_free(ft);
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
|
|
||||||
cp = format_expand(ft, template);
|
cp = format_expand(ft, template);
|
||||||
ctx->print(ctx, "%s", cp);
|
ctx->print(ctx, "%s", cp);
|
||||||
free(cp);
|
xfree(cp);
|
||||||
|
|
||||||
format_free(ft);
|
format_free(ft);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user