summaryrefslogtreecommitdiffstats
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2022-02-12 11:18:37 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-12 11:18:37 +0000
commitd68b2fc034fa3c824e0d4d53745cfe9eb8c5ecd6 (patch)
tree8e4c621d0b2d4ea58df053cb0a1432c91d502390 /src/if_cscope.c
parent18f7593e57730e6de7c2cf47c87e44252cfbb61e (diff)
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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index f8d4dc6df2..f373952dd8 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);