multigrid: avoid allocation when not ext_multigrid.

Move grid specific functions from mbyte.c to screen.c
This commit is contained in:
Björn Linse
2018-08-25 13:23:54 +02:00
parent 4f1dcf7c28
commit 1a896bc93f
5 changed files with 172 additions and 140 deletions

View File

@@ -699,7 +699,7 @@ void free_all_mem(void)
}
// free screenlines (can't display anything now!)
free_screengrid(&default_grid);
screen_free_all_mem();
clear_hl_tables(false);
list_free_log();