summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-06-24 10:27:07 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-06-24 10:27:07 +0200
commit6f76f97e96f501724cad8720a0dcb8a7eb437d16 (patch)
tree241fa1538843061247407e163e75a8c29c86c290 /src/terminal.c
parent10cb9fdee0f8571515bdc620ad791dd888d6fc03 (diff)
terminal: add debug message when removing display
This can help a lot when debugging displays that are registered multiple times with a terminal object. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 6f5f4f0..2be3d67 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -175,6 +175,7 @@ err_free:
static void free_screen(struct screen *scr)
{
+ log_debug("destroying terminal screen %p", scr);
font_screen_free(scr->fscr);
font_buffer_free(scr->buf);
uterm_screen_unref(scr->screen);