summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 2ca1ea3c0ba..e665dcf7cf6 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.137 2012/06/20 12:55:55 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.138 2012/07/10 11:53:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -345,11 +345,11 @@ tty_free(struct tty *tty)
{
tty_close(tty);
- xfree(tty->ccolour);
+ free(tty->ccolour);
if (tty->path != NULL)
- xfree(tty->path);
+ free(tty->path);
if (tty->termname != NULL)
- xfree(tty->termname);
+ free(tty->termname);
}
void
@@ -468,7 +468,7 @@ tty_force_cursor_colour(struct tty *tty, const char *ccolour)
tty_putcode(tty, TTYC_CR);
else
tty_putcode_ptr1(tty, TTYC_CC, ccolour);
- xfree(tty->ccolour);
+ free(tty->ccolour);
tty->ccolour = xstrdup(ccolour);
}
@@ -1099,7 +1099,7 @@ tty_cmd_setselection(struct tty *tty, const struct tty_ctx *ctx)
b64_ntop(ctx->ptr, ctx->num, buf, off);
tty_putcode_ptr2(tty, TTYC_MS, "", buf);
- xfree(buf);
+ free(buf);
}
void