mirror of
https://github.com/neovim/neovim.git
synced 2026-05-24 05:40:08 +00:00
fix(ui_client): fix memory leak (#39770)
This commit is contained in:
@@ -380,6 +380,7 @@ void ui_client_attach_to_restarted_server(bool error_restart)
|
||||
}
|
||||
}
|
||||
chan_id = ui_client_start_server(first_arg, cmdargs.size, argv);
|
||||
xfree(argv);
|
||||
ui_client_error_exit = -1;
|
||||
} else {
|
||||
bool is_tcp = socket_address_tcp_host_end(first_arg) != NULL;
|
||||
|
||||
Reference in New Issue
Block a user