terminal: also unref the idle object

Signed-off-by: Ran Benita <ran234@gmail.com>
This commit is contained in:
Ran Benita 2012-01-11 00:43:01 +02:00
parent 0d0cac0ad1
commit fa26df4fce

View File

@ -181,6 +181,7 @@ void kmscon_terminal_unref(struct kmscon_terminal *term)
kmscon_vte_unref(term->vte);
kmscon_console_unref(term->console);
kmscon_terminal_disconnect_eloop(term);
kmscon_idle_unref(term->redraw);
free(term);
log_debug("terminal: destroying terminal object\n");
}