mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 16:42:26 +00:00
backend: drm: Fix dmabuf resource leak
This commit is contained in:
parent
3c13527ead
commit
a6a5a19356
@ -180,6 +180,8 @@ static struct wlr_texture *get_tex_for_bo(struct wlr_drm_renderer *renderer,
|
|||||||
gbm_bo_set_user_data(bo, tex, free_tex);
|
gbm_bo_set_user_data(bo, tex, free_tex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wlr_dmabuf_attributes_finish(&attribs);
|
||||||
|
|
||||||
return tex;
|
return tex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user