mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-15 15:40:58 +01:00
Fix leaks in criteria_destroy()
This commit is contained in:
parent
c7bced9329
commit
7a6afc5199
1 changed files with 2 additions and 0 deletions
|
@ -96,7 +96,9 @@ void criteria_destroy(struct criteria *criteria) {
|
||||||
pattern_destroy(criteria->window_role);
|
pattern_destroy(criteria->window_role);
|
||||||
#endif
|
#endif
|
||||||
pattern_destroy(criteria->con_mark);
|
pattern_destroy(criteria->con_mark);
|
||||||
|
pattern_destroy(criteria->workspace);
|
||||||
free(criteria->workspace);
|
free(criteria->workspace);
|
||||||
|
free(criteria->target);
|
||||||
free(criteria->cmdlist);
|
free(criteria->cmdlist);
|
||||||
free(criteria->raw);
|
free(criteria->raw);
|
||||||
free(criteria);
|
free(criteria);
|
||||||
|
|
Loading…
Reference in a new issue