aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/criteria.c2
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);