diff options
author | K.Takata <kentkt@csc.jp> | 2022-02-12 11:18:37 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-12 11:18:37 +0000 |
commit | d68b2fc034fa3c824e0d4d53745cfe9eb8c5ecd6 (patch) | |
tree | 8e4c621d0b2d4ea58df053cb0a1432c91d502390 /src/if_cscope.c | |
parent | 18f7593e57730e6de7c2cf47c87e44252cfbb61e (diff) | |
download | vim-git-d68b2fc034fa3c824e0d4d53745cfe9eb8c5ecd6.tar.gz |
patch 8.2.4354: dynamic loading of libsodium not handled properlyv8.2.4354
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)
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index f8d4dc6df..f373952dd 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -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); |