diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-09 22:38:10 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-09 22:38:10 +0000 |
commit | 30a3356815bb3d2293ba4bda2017703a758f1c94 (patch) | |
tree | d46738c8a890bee812c84df0e68ecd8ec2ec5aa7 /driver-ti.c | |
parent | 20cc4b17019b1802b77b85892e1622a899ebdca8 (diff) | |
download | termo-30a3356815bb3d2293ba4bda2017703a758f1c94.tar.gz termo-30a3356815bb3d2293ba4bda2017703a758f1c94.tar.xz termo-30a3356815bb3d2293ba4bda2017703a758f1c94.zip |
Implemented free_driver() in terminfo driver
Diffstat (limited to 'driver-ti.c')
-rw-r--r-- | driver-ti.c | 5 |
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)]) |