summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-27 20:58:37 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-27 20:58:37 +0100
commit14285cb801c5ba965fdb89c44e8c27d912edfe4b (patch)
tree0fc6f519aab10916524e1943918115903c68924f /src/buffer.c
parent2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374 (diff)
patch 8.2.0464: typos and other small problemsv8.2.0464
Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 2dcbae2aea..cec33b0a45 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2014,7 +2014,10 @@ buflist_new(
apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf);
#ifdef FEAT_EVAL
if (aborting()) // autocmds may abort script processing
+ {
+ vim_free(ffname);
return NULL;
+ }
#endif
if (buf == curbuf)
{