Complete a few destroy functions

This adds missing free calls for:
 - drm outputs
 - libinput backend in general
 - final udev free
 - output mode state
This commit is contained in:
Dominique Martinet 2017-08-11 19:17:03 +02:00
parent 0663b6d1e1
commit 0354aaeff2
5 changed files with 27 additions and 3 deletions

View file

@ -36,6 +36,7 @@ static void wlr_drm_backend_destroy(struct wlr_backend_state *drm) {
wlr_drm_resources_free(drm);
wlr_session_close_file(drm->session, drm->fd);
wl_event_source_remove(drm->drm_event);
list_free(drm->outputs);
free(drm);
}