]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.0543: Coverity warns for leaking memory and using wrong struct v8.1.0543
authorBram Moolenaar <Bram@vim.org>
Sat, 24 Nov 2018 13:27:44 +0000 (14:27 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 24 Nov 2018 13:27:44 +0000 (14:27 +0100)
commit4e303c8ba8dcd0566a1ad7c82ff18eb016eea335
tree45c976f649d0e81e8da59a1fde57008697d76d7b
parentf951416a8396a54bbbe21de1a8b16716428549f2
patch 8.1.0543: Coverity warns for leaking memory and using wrong struct

Problem:    Coverity warns for leaking memory and using wrong struct.
Solution:   Free pointer when allocation fails. Change "boff" to "loff".
            (closes #3634)
src/ex_getln.c
src/move.c
src/version.c