diff src/buffer.c @ 19816:f37028184d6a

patch 8.2.0464: typos and other small problems Commit: https://github.com/vim/vim/commit/14285cb801c5ba965fdb89c44e8c27d912edfe4b Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 27 20:58:37 2020 +0100 patch 8.2.0464: typos and other small problems Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Mar 2020 21:00:07 +0100
parents 804322d6c6ba
children 435726a03481
line wrap: on
line diff
--- 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)
 	{