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); }