aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Snowhill <kode54@gmail.com>2023-10-09 20:47:58 -0700
committerChristopher Snowhill <kode54@gmail.com>2023-10-09 20:50:11 -0700
commit285645b8d79a7105ba48ce3a74a0e8b9bac76408 (patch)
tree532afe1321cf413e3f2333812513f154062706f3
parent078540e086c8dd80905dc95e8dcb6ab05ad52030 (diff)
xwayland: fix memory leak
Fixes: f5797be8a8d410e22fa6397b2217a6a81858d05c Thanks to tesselslate on IRC for reporting. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
-rw-r--r--xwayland/xwm.c1
1 files changed, 1 insertions, 0 deletions
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,