]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0827: Coverity: could leak pty file descriptor v8.0.0827
authorBram Moolenaar <Bram@vim.org>
Tue, 1 Aug 2017 13:08:07 +0000 (15:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 1 Aug 2017 13:08:07 +0000 (15:08 +0200)
commit979e8c534684737920c1891bf9c4af9e1fdb8c3b
treec97a7635bc3017aeec0c59a177f01067458b2cae
parent662d93866636995c0564d974e554f96e76fb2dd9
patch 8.0.0827: Coverity: could leak pty file descriptor

Problem:    Coverity: could leak pty file descriptor, theoretically.
Solution:   If channel is NULL, free the file descriptors.
src/os_unix.c
src/version.c