From a432fcd30617610b46d65f49b7513bf5da5694de Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Wed, 11 Jul 2012 19:34:16 +0000 Subject: Sync OpenBSD patchset 1150: xfree is not particularly helpful, remove it. From Thomas Adam. --- cmd-list-buffers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd-list-buffers.c') diff --git a/cmd-list-buffers.c b/cmd-list-buffers.c index 5f3cf5ea..9f1041c5 100644 --- a/cmd-list-buffers.c +++ b/cmd-list-buffers.c @@ -18,6 +18,7 @@ #include +#include #include #include "tmux.h" @@ -60,7 +61,7 @@ cmd_list_buffers_exec(unused struct cmd *self, struct cmd_ctx *ctx) line = format_expand(ft, template); ctx->print(ctx, "%s", line); - xfree(line); + free(line); format_free(ft); } -- cgit