summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-10-13 14:51:05 +0200
committerFurkan Sahin <furkan-dev@proton.me>2022-10-13 14:51:05 +0200
commit5b8385d9ceec520bfed9fcc6f6a2d5463c2e4dbc (patch)
tree59696d47d6f82d029e131f11dd4f2a10b4100491
parent763f076b1022d837651d38a2837aac2b7dd205d4 (diff)
Avoid double free in criteria_destroy()
-rw-r--r--sway/criteria.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/criteria.c b/sway/criteria.c
index 6f97994b..5cc5b8d2 100644
--- a/sway/criteria.c
+++ b/sway/criteria.c
@@ -97,7 +97,6 @@ void criteria_destroy(struct criteria *criteria) {
#endif
pattern_destroy(criteria->con_mark);
pattern_destroy(criteria->workspace);
- free(criteria->workspace);
free(criteria->target);
free(criteria->cmdlist);
free(criteria->raw);