commit | 4fa1019f8026cb383423fb4086cba7e308591e18 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Aug 14 22:56:27 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 14 22:56:27 2017 +0200 |
tree | 00fd6228014866c3eb81bc82c0d237b60447e039 | |
parent | 05fbfdcda48a564e7a778c67251f732481f3ceaa [diff] [blame] |
patch 8.0.0942: using freed memory with ":terminal" Problem: Using freed memory with ":terminal" if an autocommand changes 'shell' when splitting the window. (Marius Gedminas) Solution: Make a copy of 'shell'. (closes #1974)
diff --git a/src/version.c b/src/version.c index d4617b0..263b004 100644 --- a/src/version.c +++ b/src/version.c
@@ -770,6 +770,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 942, +/**/ 941, /**/ 940,