mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 02:58:02 +02: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue