aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.c
diff options
context:
space:
mode:
authorjames <>2008-02-20 19:36:06 +0000
committerjames <>2008-02-20 19:36:06 +0000
commite57ab4267033b826cee338a1fb24dc3dd1480782 (patch)
tree1dda22c138055cee13677d238256ac64fc125375 /src/ansi.c
parent63d6fb020597455d999352e90911425d3991bf47 (diff)
downloadsympathy-e57ab4267033b826cee338a1fb24dc3dd1480782.tar.gz
sympathy-e57ab4267033b826cee338a1fb24dc3dd1480782.tar.bz2
sympathy-e57ab4267033b826cee338a1fb24dc3dd1480782.zip
@@
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ansi.c b/src/ansi.c
index 0fa9a96..0194228 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.24 2008/02/20 19:36:06 james
+ * @@
+ *
* Revision 1.23 2008/02/20 19:25:09 james
* *** empty log message ***
*
@@ -852,6 +855,11 @@ ansi_update (ANSI * a, Context * c)
static void ansi_free(ANSI *a)
{
+ a->terminal_reset(a);
+ if (a->terminal)
+ a->terminal->close(a->terminal);
+
+ free(a);
}