summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-split-window.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-03-04 20:52:05 +0000
committernicm <nicm@openbsd.org>2012-03-04 20:52:05 +0000
commit25dd22bf669b1a381286ca181cd30dc341ea5c84 (patch)
tree119246268aa678caaf3e4d40d5e0fa0d4279117d /usr.bin/tmux/cmd-split-window.c
parentAdd -F format to new-window and split-window to use with the -P flag, (diff)
downloadwireguard-openbsd-25dd22bf669b1a381286ca181cd30dc341ea5c84.tar.xz
wireguard-openbsd-25dd22bf669b1a381286ca181cd30dc341ea5c84.zip
free -> xfree.
Diffstat (limited to 'usr.bin/tmux/cmd-split-window.c')
-rw-r--r--usr.bin/tmux/cmd-split-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-split-window.c b/usr.bin/tmux/cmd-split-window.c
index da7cc336fea..55083d1bdad 100644
--- a/usr.bin/tmux/cmd-split-window.c
+++ b/usr.bin/tmux/cmd-split-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-split-window.c,v 1.30 2012/03/04 20:50:53 nicm Exp $ */
+/* $OpenBSD: cmd-split-window.c,v 1.31 2012/03/04 20:52:05 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -152,7 +152,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
cp = format_expand(ft, template);
ctx->print(ctx, "%s", cp);
- free(cp);
+ xfree(cp);
format_free(ft);
}