mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/drm: don't leak mgpu_formats
This commit is contained in:
parent
8f56f7ca43
commit
9ab87167b5
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ static void backend_destroy(struct wlr_backend *backend) {
|
|||
wl_list_remove(&drm->dev_remove.link);
|
||||
|
||||
if (drm->mgpu_renderer.wlr_rend) {
|
||||
wlr_drm_format_set_finish(&drm->mgpu_formats);
|
||||
finish_drm_renderer(&drm->mgpu_renderer);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue