diff --git a/libweston/compositor-fbdev.c b/libweston/compositor-fbdev.c index 10229beb..62ffa0ba 100644 --- a/libweston/compositor-fbdev.c +++ b/libweston/compositor-fbdev.c @@ -665,6 +665,8 @@ fbdev_backend_destroy(struct weston_compositor *base) /* Chain up. */ weston_launcher_destroy(base->launcher); + udev_unref(backend->udev); + free(backend); }