diff options
author | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-07-17 11:19:32 -0400 |
---|---|---|
committer | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-07-17 11:35:00 -0400 |
commit | 600676688a47bde05bc12110818127c5300dd876 (patch) | |
tree | aa359ee81e7148668eeeba6622a5b7b381747921 /sway/criteria.c | |
parent | b3014f7b168eb074bd071ee7cb930d74158a2895 (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.c | 2 |
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); } |