aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-27 19:29:36 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-04-13 12:00:33 -0400
commitb8ddca6554c312026d2d8e480b0c0fb09a26a3f0 (patch)
treee03c5ae9588dbcfe2502055305db8ab9f82e9673 /src/nvim/buffer.c
parentbc84cf2585f2ae3a08e353f573d997586d6ecdf4 (diff)
downloadrneovim-b8ddca6554c312026d2d8e480b0c0fb09a26a3f0.tar.gz
rneovim-b8ddca6554c312026d2d8e480b0c0fb09a26a3f0.tar.bz2
rneovim-b8ddca6554c312026d2d8e480b0c0fb09a26a3f0.zip
vim-patch:8.2.0464: typos and other small problems
Problem: Typos and other small problems. Solution: Fix the typos. Add missing file to distribution. https://github.com/vim/vim/commit/2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index c2573cf942..24ba43676a 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -1750,6 +1750,7 @@ buf_T * buflist_new(char_u *ffname, char_u *sfname, linenr_T lnum, int flags)
apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, false, curbuf);
}
if (aborting()) { // autocmds may abort script processing
+ xfree(ffname);
return NULL;
}
if (buf == curbuf) {