From 19591e9918533b7c3751c5d090574ba50e4ebe1e Mon Sep 17 00:00:00 2001 From: bfredl Date: Thu, 5 Jan 2023 13:31:47 +0100 Subject: [PATCH] fix(ui): fix fragile UI_CALL macro invocation (#21656) Fixup #21605 Depending on the phase of the moon, UI_CALL expanding UI_LOG expanding the default value of entered_free_all_mem might or might not work. --- src/nvim/ui.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 7d7aaa9903..7775d98983 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -115,10 +115,6 @@ static char uilog_last_event[1024] = { 0 }; # include "ui_events_call.generated.h" #endif -#ifndef EXITFREE -# undef entered_free_all_mem -#endif - void ui_init(void) { default_grid.handle = 1;