aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/terminal/main.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-04-21 18:26:22 +0200
committerAlex Auvolat <alex@adnab.me>2017-04-21 18:26:22 +0200
commited153e6a5b9f001bbe49128e6bc53053f55dd37b (patch)
tree9a9bbe3551ea1b5de71aa3c358fd13f46c603191 /src/sysbin/terminal/main.c
parentf8334e283c5eb0efeb4bb8a134041e18388d5f01 (diff)
downloadkogata-ed153e6a5b9f001bbe49128e6bc53053f55dd37b.tar.gz
kogata-ed153e6a5b9f001bbe49128e6bc53053f55dd37b.zip
Can plot on a surface from lua
Diffstat (limited to 'src/sysbin/terminal/main.c')
-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) {