From 5b8385d9ceec520bfed9fcc6f6a2d5463c2e4dbc Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Thu, 13 Oct 2022 14:51:05 +0200 Subject: Avoid double free in criteria_destroy() --- sway/criteria.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v1.2.3