mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
compositor-drm: unref udev monitor on exit
Leaks spotted by Valgrind. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Ian Ray <ian.ray@ge.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
9bf4f37163
commit
5b0aa55d9e
|
@ -5221,6 +5221,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);
|
||||
|
|
Loading…
Reference in a new issue