From 02b3fcc33ce6123b8744ea5810ca3f752848c4ac Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Sun, 17 Mar 2019 22:00:38 +0100 Subject: [PATCH] Do not free ui twice --- NvimView/NvimServer/server_ui.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NvimView/NvimServer/server_ui.m b/NvimView/NvimServer/server_ui.m index de797f35..b7e68142 100644 --- a/NvimView/NvimServer/server_ui.m +++ b/NvimView/NvimServer/server_ui.m @@ -272,7 +272,7 @@ static void server_ui_main(UIBridgeData *bridge, UI *ui) { loop_close(&loop, false); xfree(_server_ui_data); - xfree(ui); + // ui is freed in ui_bridge_stop(), thus, no xfree(ui) here. free(msgpack_sbuffer_release(&flush_sbuffer)); }