diff options
author | Alex Auvolat <alex@adnab.me> | 2017-04-21 18:26:22 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-04-21 18:26:22 +0200 |
commit | ed153e6a5b9f001bbe49128e6bc53053f55dd37b (patch) | |
tree | 9a9bbe3551ea1b5de71aa3c358fd13f46c603191 /src/sysbin/terminal/main.c | |
parent | f8334e283c5eb0efeb4bb8a134041e18388d5f01 (diff) | |
download | kogata-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.c | 2 |
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) { |