From 285645b8d79a7105ba48ce3a74a0e8b9bac76408 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Mon, 9 Oct 2023 20:47:58 -0700 Subject: [PATCH] xwayland: fix memory leak Fixes: f5797be8a8d410e22fa6397b2217a6a81858d05c Thanks to tesselslate on IRC for reporting. Signed-off-by: Christopher Snowhill --- xwayland/xwm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 0ea4f895..6597af9a 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -1158,6 +1158,7 @@ static void xwm_handle_property_notify(struct wlr_xwm *xwm, } read_surface_property(xwm, xsurface, ev->atom, reply); + free(reply); } static void xwm_handle_surface_id_message(struct wlr_xwm *xwm,