refactor(drawline): avoid xmalloc/xfree cycles on each screenline

This commit is contained in:
bfredl
2023-11-09 10:20:54 +01:00
parent 3128cff6b1
commit 74581ec7eb
2 changed files with 37 additions and 26 deletions

View File

@@ -17,6 +17,7 @@
#include "nvim/buffer_updates.h"
#include "nvim/context.h"
#include "nvim/decoration_provider.h"
#include "nvim/drawline.h"
#include "nvim/eval.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
@@ -818,6 +819,7 @@ void free_all_mem(void)
check_quickfix_busy();
decor_free_all_mem();
drawline_free_all_mem();
ui_free_all_mem();
nlua_free_all_mem();