diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-11 19:17:03 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-11 19:17:03 +0200 |
commit | 0354aaeff2b57b8e6f4ea536f78ccad605ac1327 (patch) | |
tree | 42f5e6aae34a1d00fa353e5879556cbacf4e455a /backend/udev.c | |
parent | 0663b6d1e1e3041d87aae4576c2c9faf5e94793e (diff) |
Complete a few destroy functions
This adds missing free calls for:
- drm outputs
- libinput backend in general
- final udev free
- output mode state
Diffstat (limited to 'backend/udev.c')
-rw-r--r-- | backend/udev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/udev.c b/backend/udev.c index 1cc53f60..a2492172 100644 --- a/backend/udev.c +++ b/backend/udev.c @@ -217,6 +217,7 @@ void wlr_udev_destroy(struct wlr_udev *udev) { wl_event_source_remove(udev->event); udev_monitor_unref(udev->mon); udev_unref(udev->udev); + free(udev); } bool wlr_udev_signal_add(struct wlr_udev *udev, dev_t dev, struct wl_listener *listener) { |