From f8a346380c8d22a11c5acf72b74e35a6dca4f5a2 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Fri, 29 Dec 2017 15:56:39 +0100 Subject: xwayland xwm_get_render_format: free reply --- xwayland/xwm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xwayland') 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, -- cgit v1.2.3