diff --git a/src/server.c b/src/server.c index b099f86..c88aa31 100644 --- a/src/server.c +++ b/src/server.c @@ -1345,6 +1345,9 @@ void nvnc_close(struct nvnc* self) if (self->display) nvnc_display_unref(self->display); + if (self->cursor.buffer) + nvnc_fb_unref(self->cursor.buffer); + struct nvnc_client* tmp; LIST_FOREACH_SAFE (client, &self->clients, link, tmp) client_unref(client);