diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-10 09:13:10 +0200 |
---|---|---|
committer | Tudor Brindus <vulcainus@gmail.com> | 2022-10-10 09:51:01 -0400 |
commit | 7a6afc51995aebea4c78d87d3297806e31a66563 (patch) | |
tree | 2247cb4097afc7e994ffb0c0dbf1471a1e892d17 | |
parent | c7bced9329ede5f0f3732d32e52316f708be62a6 (diff) | |
download | sway-7a6afc51995aebea4c78d87d3297806e31a66563.tar.xz |
Fix leaks in criteria_destroy()
-rw-r--r-- | sway/criteria.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/criteria.c b/sway/criteria.c index 97cf667e..6f97994b 100644 --- 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); |