neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit f15122e8a2938b0a440aa3d834f6648537f1951f
parent 6954c0ba0dd6dfeed7067c7a06c163bd958e3d10
Author: James McCoy <jamessan@jamessan.com>
Date:   Thu, 19 May 2022 22:12:48 -0400

fix(cid/351940): free compl_arg in create_user_commands()'s error path exit

Diffstat:
Msrc/nvim/api/private/helpers.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c @@ -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)