diff options
Diffstat (limited to 'cmd-list-panes.c')
-rw-r--r-- | cmd-list-panes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-list-panes.c b/cmd-list-panes.c index 7331abd3..9ef6cfaf 100644 --- a/cmd-list-panes.c +++ b/cmd-list-panes.c @@ -18,6 +18,7 @@ #include <sys/types.h> +#include <stdlib.h> #include <unistd.h> #include "tmux.h" @@ -135,7 +136,7 @@ cmd_list_panes_window(struct cmd *self, line = format_expand(ft, template); ctx->print(ctx, "%s", line); - xfree(line); + free(line); format_free(ft); n++; |