Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wlroots
wlroots
Commits
8634dd3e
Unverified
Commit
8634dd3e
authored
Nov 06, 2021
by
Isaac Freund
Browse files
output: fix leak of wlr_drm_format
parent
e13f3f86
Pipeline
#440910
passed with stage
in 2 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
types/output/cursor.c
View file @
8634dd3e
...
...
@@ -264,6 +264,7 @@ static struct wlr_buffer *render_cursor_buffer(struct wlr_output_cursor *cursor)
wlr_swapchain_destroy
(
output
->
cursor_swapchain
);
output
->
cursor_swapchain
=
wlr_swapchain_create
(
allocator
,
width
,
height
,
format
);
free
(
format
);
if
(
output
->
cursor_swapchain
==
NULL
)
{
wlr_log
(
WLR_ERROR
,
"Failed to create cursor swapchain"
);
return
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment