terminal: also unref the idle object

Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
Ran Benita 2012-01-11 00:43:01 +02:00 committed by David Herrmann
parent 83cec439c6
commit 32e622f8f2

View File

@ -186,6 +186,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);
kmscon_compositor_unref(term->comp);
free(term);
log_debug("terminal: destroying terminal object\n");