mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(cid/351940): free compl_arg in create_user_commands()'s error path exit
This commit is contained in:
parent
6954c0ba0d
commit
f15122e8a2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user