aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-06-25 01:56:10 +0200
committerGitHub <noreply@github.com>2019-06-25 01:56:10 +0200
commit8cd87af8d67bd97f1897f527994e4d81cb39e286 (patch)
tree4544d67fdb443c4837fcfcb5b4def245cc79d364 /src/nvim/os
parent5ae57b7e571ff8faefcbee84af24bf58ec097fa3 (diff)
parent28456e96f37986105b9d912a27e970640922fbbe (diff)
downloadrneovim-8cd87af8d67bd97f1897f527994e4d81cb39e286.tar.gz
rneovim-8cd87af8d67bd97f1897f527994e4d81cb39e286.tar.bz2
rneovim-8cd87af8d67bd97f1897f527994e4d81cb39e286.zip
Merge pull request #10290 from janlazo/vim-8.1.0086
vim-patch:8.1.{86,347}
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/dl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/os/dl.c b/src/nvim/os/dl.c
index bbd0424a82..f0fadb16f2 100644
--- a/src/nvim/os/dl.c
+++ b/src/nvim/os/dl.c
@@ -54,6 +54,7 @@ bool os_libcall(const char *libname,
// open the dynamic loadable library
if (uv_dlopen(libname, &lib)) {
EMSG2(_("dlerror = \"%s\""), uv_dlerror(&lib));
+ uv_dlclose(&lib);
return false;
}