mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Free buffers properly.
This commit is contained in:
parent
1f10f6ea8b
commit
8782639c1e
6
local.c
6
local.c
@ -1,4 +1,4 @@
|
||||
/* $Id: local.c,v 1.15 2007-10-19 11:10:35 nicm Exp $ */
|
||||
/* $Id: local.c,v 1.16 2007-10-24 11:45:25 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -290,8 +290,8 @@ local_done(void)
|
||||
{
|
||||
struct winsize ws;
|
||||
|
||||
xfree(local_in);
|
||||
xfree(local_out);
|
||||
buffer_destroy(local_in);
|
||||
buffer_destroy(local_out);
|
||||
|
||||
if (tcsetattr(local_fd, TCSANOW, &local_tio) != 0)
|
||||
fatal("tcsetattr failed");
|
||||
|
Loading…
Reference in New Issue
Block a user