aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2016-02-19 22:07:46 +0100
committerFelipe Morales <hel.sheep@gmail.com>2016-02-19 22:07:46 +0100
commitaf67f022ca3ea3f409e2a0925aa0ea02fd7fd0f9 (patch)
tree4d3b541a919cf38ed329890e09c8ce45a75f7569 /src/nvim/ex_cmds.c
parent00347ec781cf64c8e9c81dde456312f70ec3f4cb (diff)
parentd4bb84367f3cc00528ac9b28dea3e1e9962ccf88 (diff)
downloadrneovim-af67f022ca3ea3f409e2a0925aa0ea02fd7fd0f9.tar.gz
rneovim-af67f022ca3ea3f409e2a0925aa0ea02fd7fd0f9.tar.bz2
rneovim-af67f022ca3ea3f409e2a0925aa0ea02fd7fd0f9.zip
Merge pull request #4264 from watiko/vim-7.4.922
vim-patch:7.4.922
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 4d62dd0ff9..4a423269cc 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4779,6 +4779,7 @@ void ex_helptags(exarg_T *eap)
WILD_LIST_NOTFOUND|WILD_SILENT, WILD_EXPAND_FREE);
if (dirname == NULL || !os_isdir(dirname)) {
EMSG2(_("E150: Not a directory: %s"), eap->arg);
+ xfree(dirname);
return;
}