1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 23:36:08 +03:00

Do not free ui twice

This commit is contained in:
Tae Won Ha 2019-03-17 22:00:38 +01:00
parent 3bf2d0965d
commit 02b3fcc33c

View File

@ -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));
}