commit | 0f1c6708fdf17bb9c7305b8af5d12189956195b6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 28 15:24:00 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 28 15:24:00 2019 +0200 |
tree | 1dd2dcec1013f8b500a1bbf030e5f83b3b24c560 | |
parent | 2e47cab715669bd0c89762217cbf77bd70cd82ac [diff] [blame] |
patch 8.1.2091: double free when memory allocation fails Problem: Double free when memory allocation fails. (Zu-Ming Jiang) Solution: Use VIM_CLEAR() instead of vim_free(). (closes #4991)
diff --git a/src/version.c b/src/version.c index e595c7a..2d9ffa3 100644 --- a/src/version.c +++ b/src/version.c
@@ -758,6 +758,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2091, +/**/ 2090, /**/ 2089,