commit | 566cc8c72bb8036f015a435800f28ef9f6a9a3b6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jun 29 21:14:51 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jun 29 21:14:51 2020 +0200 |
tree | f261542849a6c11e2b89a34b660e4966a99a8cd7 | |
parent | cf30643ae607ae1a97b50e19c622dc8303723fa2 [diff] [blame] |
patch 8.2.1087: possible memory leak when file expansion fails Problem: Possible memory leak when file expansion fails. Solution: Clear the grow array when returning FAIL. Use an error message instead of an empty string.
diff --git a/src/version.c b/src/version.c index 6f6e481..f38c978b 100644 --- a/src/version.c +++ b/src/version.c
@@ -755,6 +755,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1087, +/**/ 1086, /**/ 1085,