Sync OpenBSD patchset 1042:

free -> xfree.
This commit is contained in:
Tiago Cunha 2012-03-07 13:40:08 +00:00
parent 3d98adaf91
commit 3307813a07
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

@ -151,7 +151,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);
} }