aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-09 22:38:10 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-09 22:38:10 +0000
commit30a3356815bb3d2293ba4bda2017703a758f1c94 (patch)
treed46738c8a890bee812c84df0e68ecd8ec2ec5aa7
parent20cc4b17019b1802b77b85892e1622a899ebdca8 (diff)
downloadtermo-30a3356815bb3d2293ba4bda2017703a758f1c94.tar.gz
termo-30a3356815bb3d2293ba4bda2017703a758f1c94.tar.xz
termo-30a3356815bb3d2293ba4bda2017703a758f1c94.zip
Implemented free_driver() in terminfo driver
-rw-r--r--driver-ti.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/driver-ti.c b/driver-ti.c
index 3d1f467..7c5a6f0 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -98,6 +98,11 @@ static void stop_driver(termkey_t *tk, void *info)
static void free_driver(void *info)
{
+ termkey_ti *ti = info;
+
+ free(ti->seqs);
+
+ free(ti);
}
#define CHARAT(i) (tk->buffer[tk->buffstart + (i)])