0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.1.0642: swapinfo() leaks memory

Problem:    swapinfo() leaks memory.
Solution:   Avoid allocating the strings twice.
This commit is contained in:
Bram Moolenaar
2018-12-26 22:57:42 +01:00
parent c57463c9c6
commit e6fdf79980
4 changed files with 32 additions and 15 deletions

View File

@@ -799,6 +799,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
642,
/**/
641,
/**/