diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-12-29 15:56:39 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-12-29 15:56:47 +0100 |
commit | f8a346380c8d22a11c5acf72b74e35a6dca4f5a2 (patch) | |
tree | 41870325183e677833e5f8d5f5800256aaad2e8e /xwayland | |
parent | dad9543c510ac9075533a7de9e8b315bd17b3b9c (diff) |
xwayland xwm_get_render_format: free reply
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/xwm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 0b9ffac2..facc5566 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -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, |