mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
wlr_drm_format: Introduce drm_format_finish
This commit is contained in:
parent
e353c5c631
commit
b45396c790
7 changed files with 19 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ void wlr_swapchain_destroy(struct wlr_swapchain *swapchain) {
|
|||
slot_reset(&swapchain->slots[i]);
|
||||
}
|
||||
wl_list_remove(&swapchain->allocator_destroy.link);
|
||||
wlr_drm_format_finish(swapchain->format);
|
||||
free(swapchain->format);
|
||||
free(swapchain);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue