commit | e6fdf79980c0f2856700d4f46de700293f477429 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Dec 26 22:57:42 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Dec 26 22:57:42 2018 +0100 |
tree | 3234f99e0464e97f36e6b5b4086f95b469806552 | |
parent | c57463c9c6ee893285f553e0ac3b2fe5935f16b8 [diff] [blame] |
patch 8.1.0642: swapinfo() leaks memory Problem: swapinfo() leaks memory. Solution: Avoid allocating the strings twice.
diff --git a/src/version.c b/src/version.c index 3150da9..dc11358 100644 --- a/src/version.c +++ b/src/version.c
@@ -800,6 +800,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 642, +/**/ 641, /**/ 640,