1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-30 08:34:14 +01:00

Avoid double free in criteria_destroy()

This commit is contained in:
cparm 2022-10-13 14:51:05 +02:00 committed by Simon Ser
parent 7a6afc5199
commit 99fd096d69

View file

@ -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);