aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-05-20 14:22:15 -0400
committerGitHub <noreply@github.com>2022-05-20 14:22:15 -0400
commitb3453ea4a6b6518cccd6922fbcaa64a0aa47c743 (patch)
treef7b0c7d483e6792cbddcf8a7fc0d8dd8a3a49ecd /src/nvim/api/private/helpers.c
parentc847a0eeb7123122069cbf2903e95571e86f66c6 (diff)
parent3e627f9e553d0e63597a3df870cb273b64b7e51f (diff)
downloadrneovim-b3453ea4a6b6518cccd6922fbcaa64a0aa47c743.tar.gz
rneovim-b3453ea4a6b6518cccd6922fbcaa64a0aa47c743.tar.bz2
rneovim-b3453ea4a6b6518cccd6922fbcaa64a0aa47c743.zip
Merge pull request #18648 from jamessan/coverity-fixes
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index 7bd68f277b..5d4b84482b 100644
--- 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)