mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +00:00
fix(rpc): don't free args on error in rpc_send_event
fixup #21631 fixes #21690
This commit is contained in:
@@ -100,7 +100,6 @@ bool rpc_send_event(uint64_t id, const char *name, Array args)
|
||||
Channel *channel = NULL;
|
||||
|
||||
if (id && (!(channel = find_rpc_channel(id)))) {
|
||||
api_free_array(args);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user