mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 12:38:33 +00:00
fix(cid/351940): free compl_arg in create_user_commands()'s error path exit
This commit is contained in:
@@ -1624,6 +1624,7 @@ void create_user_command(String name, Object command, Dict(user_command) *opts,
|
||||
err:
|
||||
NLUA_CLEAR_REF(luaref);
|
||||
NLUA_CLEAR_REF(compl_luaref);
|
||||
xfree(compl_arg);
|
||||
}
|
||||
|
||||
int find_sid(uint64_t channel_id)
|
||||
|
Reference in New Issue
Block a user