]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.2091: double free when memory allocation fails v8.1.2091
authorBram Moolenaar <Bram@vim.org>
Sat, 28 Sep 2019 13:24:00 +0000 (15:24 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 28 Sep 2019 13:24:00 +0000 (15:24 +0200)
commit0f1c6708fdf17bb9c7305b8af5d12189956195b6
tree1dd2dcec1013f8b500a1bbf030e5f83b3b24c560
parent2e47cab715669bd0c89762217cbf77bd70cd82ac
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)
src/getchar.c
src/version.c