aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-05-19 22:08:20 -0400
committerJames McCoy <jamessan@jamessan.com>2022-05-20 08:14:37 -0400
commit6954c0ba0dd6dfeed7067c7a06c163bd958e3d10 (patch)
tree4a673ce4518b23f7a4d8fe4646c09eb1c00a145f /src/nvim/api/private/helpers.c
parent1da7e2b8ca1c89d69aec0830ce5ff1885cb75905 (diff)
downloadrneovim-6954c0ba0dd6dfeed7067c7a06c163bd958e3d10.tar.gz
rneovim-6954c0ba0dd6dfeed7067c7a06c163bd958e3d10.tar.bz2
rneovim-6954c0ba0dd6dfeed7067c7a06c163bd958e3d10.zip
ci(coverity): annotate register_cfunc as leaking memory
register_cfunc allocates a ufunc_T, but doesn't store the pointer anywhere before returning. The uf_name member variable is stored in a hashtable and used to lookup the ufunc_T later, but that's too much for Coverity to track. Adding the annotation ensures that any new callers to register_cfunc don't pop up as new "leaks" in the Coverity scans.
Diffstat (limited to 'src/nvim/api/private/helpers.c')
0 files changed, 0 insertions, 0 deletions