mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01: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) {
|
if (format == NULL) {
|
||||||
wlr_log(L_DEBUG, "No 32 bit render format");
|
wlr_log(L_DEBUG, "No 32 bit render format");
|
||||||
|
free(reply);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
xwm->render_format_id = format->id;
|
xwm->render_format_id = format->id;
|
||||||
|
free(reply);
|
||||||
}
|
}
|
||||||
|
|
||||||
void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
|
void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
|
||||||
|
|
Loading…
Reference in a new issue