Implemented free_driver() in terminfo driver
This commit is contained in:
parent
20cc4b1701
commit
30a3356815
|
@ -98,6 +98,11 @@ static void stop_driver(termkey_t *tk, void *info)
|
||||||
|
|
||||||
static void free_driver(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)])
|
#define CHARAT(i) (tk->buffer[tk->buffstart + (i)])
|
||||||
|
|
Loading…
Reference in New Issue