commit | 334ad415040f9592451ec99498cd99f90d6e33e6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 19 15:20:46 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 19 15:20:46 2019 +0200 |
tree | b8731633fa1d11f461b1aed623a302038301b7cf | |
parent | 86ec6d7e1e037e839879a5c05c2ee77db27fb557 [diff] [blame] |
patch 8.1.1186: readdir() allocates list twice Problem: readdir() allocates list twice. Solution: Remove second allocation. Also check for zero length.
diff --git a/src/version.c b/src/version.c index b08b22c..0b9a5df 100644 --- a/src/version.c +++ b/src/version.c
@@ -772,6 +772,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1186, +/**/ 1185, /**/ 1184,