Clean up gbm device on exit

pixman-rendering
Andri Yngvason 2020-07-06 17:37:19 +00:00
parent d23c443e14
commit cb2a5f543e
1 changed files with 1 additions and 0 deletions

View File

@ -804,6 +804,7 @@ int main(int argc, char* argv[])
zwp_linux_dmabuf_v1_destroy(zwp_linux_dmabuf); zwp_linux_dmabuf_v1_destroy(zwp_linux_dmabuf);
if (self.screencopy.manager) if (self.screencopy.manager)
screencopy_destroy(&self.screencopy); screencopy_destroy(&self.screencopy);
gbm_device_destroy(gbm_device);
wayvnc_destroy(&self); wayvnc_destroy(&self);
aml_unref(aml); aml_unref(aml);