main: Clean up registry globals

qemu-extended-key-event
Andri Yngvason 2020-07-09 21:05:46 +00:00
parent 4a4d3582ee
commit f09ee597a6
1 changed files with 4 additions and 0 deletions

View File

@ -164,6 +164,10 @@ int main(int argc, char* argv[])
}
rc = 0;
wl_compositor_destroy(wl_compositor);
wl_shm_destroy(wl_shm);
xdg_wm_base_destroy(xdg_wm_base);
wl_registry_destroy(wl_registry);
registry_failure:
event_handler_failure: