mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
xwayland xwm_get_render_format: free reply
This commit is contained in:
parent
dad9543c51
commit
f8a346380c
1 changed files with 2 additions and 0 deletions
|
|
@ -1274,10 +1274,12 @@ static void xwm_get_render_format(struct wlr_xwm *xwm) {
|
|||
|
||||
if (format == NULL) {
|
||||
wlr_log(L_DEBUG, "No 32 bit render format");
|
||||
free(reply);
|
||||
return;
|
||||
}
|
||||
|
||||
xwm->render_format_id = format->id;
|
||||
free(reply);
|
||||
}
|
||||
|
||||
void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue