1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2017-08-01 15:08:07 +02:00
parent 662d938666
commit 979e8c5346
2 changed files with 18 additions and 0 deletions

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
827,
/**/
826,
/**/