mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
backend: drm: Fix dmabuf resource leak
This commit is contained in:
parent
3c13527ead
commit
a6a5a19356
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
wlr_dmabuf_attributes_finish(&attribs);
|
||||
|
||||
return tex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue