diff --git a/src/commands.c b/src/commands.c index c0f1d187..f05d9758 100644 --- a/src/commands.c +++ b/src/commands.c @@ -257,6 +257,7 @@ void cmd_criteria_init(I3_CMD) { owindow *ow; DLOG("Initializing criteria, current_match = %p\n", current_match); + match_free(current_match); match_init(current_match); while (!TAILQ_EMPTY(&owindows)) { ow = TAILQ_FIRST(&owindows);