commit | a1d5c154dbd5fbe317726bbf2ba99632b91878f4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Dec 16 19:05:22 2017 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Dec 16 19:05:22 2017 +0100 |
tree | 62365cb866b7f1a547ae1581d18126815119dcc0 | |
parent | 200d0e36bc5384beb9dc76ac75806ac0aecf84ac [diff] [blame] |
patch 8.0.1396: memory leak when CTRL-G in search command line fails Problem: Memory leak when CTRL-G in search command line fails. Solution: Move restore_last_search_pattern to after "if".
diff --git a/src/version.c b/src/version.c index 0b17338..224118a 100644 --- a/src/version.c +++ b/src/version.c
@@ -772,6 +772,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1396, +/**/ 1395, /**/ 1394,