fix for crash freeing console history.

This commit is contained in:
Campbell Barton 2013-09-24 17:11:55 +00:00
parent 00745a572b
commit a5620a73b3

@ -681,6 +681,7 @@ static int console_clear_exec(bContext *C, wmOperator *op)
if (history) {
while (sc->history.first)
console_history_free(sc, sc->history.first);
console_history_verify(C);
}
console_textview_update_rect(sc, ar);