diff options
Diffstat (limited to 'sway/criteria.c')
-rw-r--r-- | sway/criteria.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sway/criteria.c b/sway/criteria.c index 59a923f9..48ef39df 100644 --- a/sway/criteria.c +++ b/sway/criteria.c @@ -35,19 +35,18 @@ bool criteria_is_empty(struct criteria *criteria) { } void criteria_destroy(struct criteria *criteria) { - free(criteria->raw); - free(criteria->cmdlist); - free(criteria->target); pcre_free(criteria->title); pcre_free(criteria->shell); pcre_free(criteria->app_id); - pcre_free(criteria->con_mark); #if HAVE_XWAYLAND pcre_free(criteria->class); pcre_free(criteria->instance); pcre_free(criteria->window_role); #endif + pcre_free(criteria->con_mark); free(criteria->workspace); + free(criteria->cmdlist); + free(criteria->raw); free(criteria); } |