clear current_match when dropping state

This commit is contained in:
Michael Stapelberg 2010-04-17 12:57:06 +02:00
parent 50d590df28
commit 22f38ebde4
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ commands: /* empty */
TAILQ_REMOVE(&owindows, current, owindows); TAILQ_REMOVE(&owindows, current, owindows);
free(current); free(current);
} }
memset(&current_match, 0, sizeof(Match));
} }
; ;