From: Pekka Paalanen <pekka.paala...@collabora.co.uk>

Leaks spotted by Valgrind.

Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
---
 libweston/compositor-drm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index 636da9e8..d8105ca5 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -5225,6 +5225,7 @@ drm_destroy(struct weston_compositor *ec)
        if (b->gbm)
                gbm_device_destroy(b->gbm);
 
+       udev_monitor_unref(b->udev_monitor);
        udev_unref(b->udev);
 
        weston_launcher_destroy(ec->launcher);
-- 
2.13.6

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to