aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-08-25 13:23:54 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-12-31 12:44:22 +0100
commit1a896bc93f9c54cc8b973feba1963fd6b60a22b7 (patch)
tree96fa5f32684b415e9cd03491b9b415480de54622 /src/nvim/memory.c
parent4f1dcf7c28c941cfe3c8516728b6543ad2854645 (diff)
downloadrneovim-1a896bc93f9c54cc8b973feba1963fd6b60a22b7.tar.gz
rneovim-1a896bc93f9c54cc8b973feba1963fd6b60a22b7.tar.bz2
rneovim-1a896bc93f9c54cc8b973feba1963fd6b60a22b7.zip
multigrid: avoid allocation when not ext_multigrid.
Move grid specific functions from mbyte.c to screen.c
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index ce914b43f9..d38079ca72 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -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();