diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2014-11-27 15:09:03 -0500 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2014-11-27 15:12:35 -0500 |
commit | 927c6a148d3721bb04ccbe54346b08ec00528e60 (patch) | |
tree | 3477189c3155cc3b4f3f81cf7be783e4fb36d516 /src/nvim/os_unix.c | |
parent | 98b11f5db3a99ef633ad77ddc6b22dc428873e95 (diff) | |
download | rneovim-927c6a148d3721bb04ccbe54346b08ec00528e60.tar.gz rneovim-927c6a148d3721bb04ccbe54346b08ec00528e60.tar.bz2 rneovim-927c6a148d3721bb04ccbe54346b08ec00528e60.zip |
eval: Fix coverity false positive.
** CID 74786: Resource leak (RESOURCE_LEAK)
/src/nvim/eval.c: 10614 in f_jobsend()
/src/nvim/eval.c: 10616 in f_jobsend()
save_tv_as_string() should return NULL and input_len <= 0 for an empty
string or error. Callers should check that input != NULL instead of
input_len > 0 and assert(input == NULL) when the length must be checked.
Diffstat (limited to 'src/nvim/os_unix.c')
0 files changed, 0 insertions, 0 deletions