From 9b54f6d936c66b6e66d7522ac4b8ace8d62584a4 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 6 Jul 2020 16:43:53 +0000 Subject: [PATCH] Clean up dispatch hander on exit --- src/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.c b/src/server.c index 23559a2..f4e9416 100644 --- a/src/server.c +++ b/src/server.c @@ -912,6 +912,7 @@ void nvnc_close(struct nvnc* self) } #endif + aml_unref(self->dispatch_handler); aml_unref(self->poll_handle); free(self); }