mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +00:00
refactor(api): do not allocate temporaries for internal events
This commit is contained in:
@@ -1190,6 +1190,7 @@ static int nlua_rpc(lua_State *lstate, bool request)
|
||||
api_set_error(&err, kErrorTypeValidation,
|
||||
"Invalid channel: %" PRIu64, chan_id);
|
||||
}
|
||||
api_free_array(args); // TODO(bfredl): no
|
||||
}
|
||||
|
||||
check_err:
|
||||
|
Reference in New Issue
Block a user