mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.4354: dynamic loading of libsodium not handled properly
Problem: Dynamic loading of libsodium not handled properly. Solution: Fix has() and :version. Show an error message when loading fails. Fix memory leaks. (Ken Takata, closes #9754)
This commit is contained in:
@@ -1371,10 +1371,7 @@ cs_insert_filelist(
|
||||
char *winmsg = GetWin32Error();
|
||||
|
||||
if (winmsg != NULL)
|
||||
{
|
||||
(void)semsg(cant_msg, winmsg);
|
||||
LocalFree(winmsg);
|
||||
}
|
||||
else
|
||||
// subst filename if can't get error text
|
||||
(void)semsg(cant_msg, fname);
|
||||
|
Reference in New Issue
Block a user