mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11: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
|
#endif
|
||||||
pattern_destroy(criteria->con_mark);
|
pattern_destroy(criteria->con_mark);
|
||||||
pattern_destroy(criteria->workspace);
|
pattern_destroy(criteria->workspace);
|
||||||
free(criteria->workspace);
|
|
||||||
free(criteria->target);
|
free(criteria->target);
|
||||||
free(criteria->cmdlist);
|
free(criteria->cmdlist);
|
||||||
free(criteria->raw);
|
free(criteria->raw);
|
||||||
|
|
Loading…
Reference in a new issue