aboutsummaryrefslogtreecommitdiff
path: root/backend/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/udev.c')
-rw-r--r--backend/udev.c1
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) {