mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
fix(remote): don't leak memory on failure to connect to server (#21931)
Also fix the race between output and resize in the test for this.
This commit is contained in:
@@ -885,7 +885,7 @@ static void remote_request(mparm_T *params, int remote_args, char *server_addr,
|
||||
os_errmsg("Remote ui failed to start: ");
|
||||
os_errmsg(connect_error);
|
||||
os_errmsg("\n");
|
||||
exit(1);
|
||||
os_exit(1);
|
||||
}
|
||||
|
||||
ui_client_channel_id = chan;
|
||||
|
Reference in New Issue
Block a user