xwayland: fix memory leak

Fixes: f5797be8a8

Thanks to tesselslate on IRC for reporting.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2023-10-09 20:47:58 -07:00
parent 078540e086
commit 285645b8d7

View File

@ -1158,6 +1158,7 @@ static void xwm_handle_property_notify(struct wlr_xwm *xwm,
} }
read_surface_property(xwm, xsurface, ev->atom, reply); read_surface_property(xwm, xsurface, ev->atom, reply);
free(reply);
} }
static void xwm_handle_surface_id_message(struct wlr_xwm *xwm, static void xwm_handle_surface_id_message(struct wlr_xwm *xwm,