commit | 3d6014f0336d9a64c01a7518fe45fde0a925fa20 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Oct 11 19:27:47 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Oct 11 19:27:47 2018 +0200 |
tree | 7961f41f09ee54c2c240abac007ab9779709bb13 | |
parent | 108e7b422b7b59153dd5af1fb75e83fa36ff3db4 [diff] [blame] |
patch 8.1.0470: pointer ownership around fname_expand() is unclear Problem: Pointer ownership around fname_expand() is unclear. Solution: Allow b_ffname and b_sfname to point to the same allocated memory, only free one. Update comments.
diff --git a/src/version.c b/src/version.c index 12270b7..3257bd2 100644 --- a/src/version.c +++ b/src/version.c
@@ -793,6 +793,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 470, +/**/ 469, /**/ 468,