diff options
author | cparm <armelcadetpetit@gmail.com> | 2022-10-13 14:51:05 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-10-13 14:56:10 +0200 |
commit | 99fd096d69ce94d29c52414d274deb9e9e25de6b (patch) | |
tree | 59696d47d6f82d029e131f11dd4f2a10b4100491 /sway | |
parent | 7a6afc51995aebea4c78d87d3297806e31a66563 (diff) |
Avoid double free in criteria_destroy()
Diffstat (limited to 'sway')
-rw-r--r-- | sway/criteria.c | 1 |
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); |