Fix leaks in criteria_destroy()

This commit is contained in:
Simon Ser 2022-10-10 09:13:10 +02:00 committed by Tudor Brindus
parent c7bced9329
commit 7a6afc5199

View file

@ -96,7 +96,9 @@ void criteria_destroy(struct criteria *criteria) {
pattern_destroy(criteria->window_role);
#endif
pattern_destroy(criteria->con_mark);
pattern_destroy(criteria->workspace);
free(criteria->workspace);
free(criteria->target);
free(criteria->cmdlist);
free(criteria->raw);
free(criteria);