sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 7a6afc51995aebea4c78d87d3297806e31a66563
parent c7bced9329ede5f0f3732d32e52316f708be62a6
Author: Simon Ser <contact@emersion.fr>
Date:   Mon, 10 Oct 2022 09:13:10 +0200

Fix leaks in criteria_destroy()

Diffstat:
Msway/criteria.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sway/criteria.c b/sway/criteria.c @@ -96,7 +96,9 @@ void criteria_destroy(struct criteria *criteria) { pattern_destroy(criteria->window_role); #endif pattern_destroy(criteria->con_mark); + pattern_destroy(criteria->workspace); free(criteria->workspace); + free(criteria->target); free(criteria->cmdlist); free(criteria->raw); free(criteria);