aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysbin/terminal')
-rw-r--r--src/sysbin/terminal/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysbin/terminal/main.c b/src/sysbin/terminal/main.c
index d6d0fe4..c7e4969 100644
--- a/src/sysbin/terminal/main.c
+++ b/src/sysbin/terminal/main.c
@@ -302,7 +302,7 @@ void gip_buffer_info(gip_handler_t *s, gip_msg_header *p, gip_buffer_info_msg *m
term_t *c = (term_t*)s->data;
if (c->fb != 0) {
- g_delete_fb(c->fb);
+ g_decref_fb(c->fb);
c->fb = 0;
}
if (c->fd != 0) {