clear current_match when dropping state
This commit is contained in:
parent
50d590df28
commit
22f38ebde4
|
@ -132,6 +132,7 @@ commands: /* empty */
|
||||||
TAILQ_REMOVE(&owindows, current, owindows);
|
TAILQ_REMOVE(&owindows, current, owindows);
|
||||||
free(current);
|
free(current);
|
||||||
}
|
}
|
||||||
|
memset(¤t_match, 0, sizeof(Match));
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue