aboutsummaryrefslogtreecommitdiff
path: root/render/swapchain.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-10 16:02:07 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-05-11 03:51:01 -0400
commitb45396c790277f3527425bf60c9f27718edf25c8 (patch)
tree07eedbfbccd2469f2cf50b5476c47bc741e66dce /render/swapchain.c
parente353c5c63175c6b3abcbf588aa29285d09817fa4 (diff)
wlr_drm_format: Introduce drm_format_finish
Diffstat (limited to 'render/swapchain.c')
-rw-r--r--render/swapchain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/swapchain.c b/render/swapchain.c
index 5ccf812e..a15ac7f9 100644
--- a/render/swapchain.c
+++ b/render/swapchain.c
@@ -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);
}