From ed153e6a5b9f001bbe49128e6bc53053f55dd37b Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 21 Apr 2017 18:26:22 +0200 Subject: Can plot on a surface from lua --- src/sysbin/terminal/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sysbin/terminal/main.c') 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) { -- cgit v1.2.3