Unverified Commit 8634dd3e authored by Isaac Freund's avatar Isaac Freund
Browse files

output: fix leak of wlr_drm_format

parent e13f3f86
Pipeline #440910 passed with stage
in 2 minutes and 4 seconds
......@@ -264,6 +264,7 @@ static struct wlr_buffer *render_cursor_buffer(struct wlr_output_cursor *cursor)
output->cursor_swapchain = wlr_swapchain_create(allocator,
width, height, format);
if (output->cursor_swapchain == NULL) {
wlr_log(WLR_ERROR, "Failed to create cursor swapchain");
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment