From 99fd096d69ce94d29c52414d274deb9e9e25de6b Mon Sep 17 00:00:00 2001 From: cparm 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(-) (limited to 'sway') 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