vim-patch:8.0.1529: assert_equalfile() does not close file descriptors

Problem:    Assert_equalfile() does not close file descriptors. (Coverity)
Solution:   Close the file descriptors.
3049418f3d
This commit is contained in:
Jan Edmund Lazo
2019-09-20 21:58:56 -04:00
parent 2a7ffc6567
commit eb3888a322

View File

@@ -7004,6 +7004,8 @@ static int assert_equalfile(typval_T *argvars)
break;
}
}
fclose(fd1);
fclose(fd2);
}
}
if (IObuff[0] != NUL) {