aboutsummaryrefslogtreecommitdiff
path: root/sway/criteria.c
diff options
context:
space:
mode:
authorfrsfnrrg <frsfnrrg@users.noreply.github.com>2018-07-17 11:19:32 -0400
committerfrsfnrrg <frsfnrrg@users.noreply.github.com>2018-07-17 11:35:00 -0400
commit600676688a47bde05bc12110818127c5300dd876 (patch)
treeaa359ee81e7148668eeeba6622a5b7b381747921 /sway/criteria.c
parentb3014f7b168eb074bd071ee7cb930d74158a2895 (diff)
Free individual criteria in free_config
Also free cmd_list when cleaning up a struct criteria.
Diffstat (limited to 'sway/criteria.c')
-rw-r--r--sway/criteria.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/criteria.c b/sway/criteria.c
index c999d248..e2b248de 100644
--- a/sway/criteria.c
+++ b/sway/criteria.c
@@ -37,7 +37,7 @@ void criteria_destroy(struct criteria *criteria) {
pcre_free(criteria->con_mark);
pcre_free(criteria->window_role);
free(criteria->workspace);
-
+ free(criteria->cmdlist);
free(criteria->raw);
free(criteria);
}