]> granicus.if.org Git - vim/commit
patch 8.1.1186: readdir() allocates list twice v8.1.1186
authorBram Moolenaar <Bram@vim.org>
Fri, 19 Apr 2019 13:20:46 +0000 (15:20 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 19 Apr 2019 13:20:46 +0000 (15:20 +0200)
commit334ad415040f9592451ec99498cd99f90d6e33e6
treeb8731633fa1d11f461b1aed623a302038301b7cf
parent86ec6d7e1e037e839879a5c05c2ee77db27fb557
patch 8.1.1186: readdir() allocates list twice

Problem:    readdir() allocates list twice.
Solution:   Remove second allocation.  Also check for zero length.
src/evalfunc.c
src/version.c