mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Avoid double free in criteria_destroy()
This commit is contained in:
parent
7a6afc5199
commit
99fd096d69
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue