diff options
author | oni-link <knil.ino@gmail.com> | 2015-02-12 14:07:05 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-04-03 08:03:25 -0300 |
commit | 12b084b62109e6dc43792fc4af5accb21b469d05 (patch) | |
tree | 4639b0a2622f956a5f37917a3a4457fc0f87859a /runtime/syntax/gitcommit.vim | |
parent | db3ae72d1952cd93d5736c3ffd35eedcce0b5488 (diff) | |
download | rneovim-12b084b62109e6dc43792fc4af5accb21b469d05.tar.gz rneovim-12b084b62109e6dc43792fc4af5accb21b469d05.tar.bz2 rneovim-12b084b62109e6dc43792fc4af5accb21b469d05.zip |
Fix a memory leak for WBuffers used in channel_write().
channel_write() uses a ref-counted buffer for writing. This buffer
should be released if it was used in "refcount" channel_write() calls.
But calling channel_write() on a closed channel would return early and
not decrease the refcount of the used buffer.
Diffstat (limited to 'runtime/syntax/gitcommit.vim')
0 files changed, 0 insertions, 0 deletions