Mercurial > vim
view runtime/ftplugin/tmux.vim @ 15064:7b2dcca9e0c1 v8.1.0543
patch 8.1.0543: Coverity warns for leaking memory and using wrong struct
commit https://github.com/vim/vim/commit/4e303c8ba8dcd0566a1ad7c82ff18eb016eea335
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 24 14:27:44 2018 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Nov 2018 14:30:08 +0100 |
parents | d0a20101ecb2 |
children | 3b34837f4538 |
line wrap: on
line source
" Vim filetype plugin file " Language: tmux(1) configuration file " URL: https://github.com/ericpruitt/tmux.vim/ " Maintainer: Eric Pruitt <eric.pruitt@gmail.com> " Last Changed: 2017 Mar 10 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal commentstring=#\ %s