backend: drm: Fix dmabuf resource leak

This commit is contained in:
Andri Yngvason 2020-06-13 12:56:24 +00:00 committed by Simon Ser
parent 3c13527ead
commit a6a5a19356

View file

@ -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;
}