diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-26 14:29:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-26 14:29:56 +0200 |
commit | 7d41aa8874a62eb399e13b94add7f0e5c4dd074b (patch) | |
tree | a8780ab182085d69c76f3730de4d2d2e057a5e27 /src/clientserver.c | |
parent | 6378c4fef37df05c99e8a43616063b4ddb692876 (diff) | |
download | vim-git-7d41aa8874a62eb399e13b94add7f0e5c4dd074b.tar.gz |
patch 8.2.0642: Vim9: using invalid indexv8.2.0642
Problem: Vim9: using invalid index.
Solution: Check index for being valid. Fix memory leak.
Diffstat (limited to 'src/clientserver.c')
-rw-r--r-- | src/clientserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clientserver.c b/src/clientserver.c index 524542580..cf35c8149 100644 --- a/src/clientserver.c +++ b/src/clientserver.c @@ -473,6 +473,7 @@ cmdsrv_main( # ifdef FEAT_GUI_MSWIN Shell_NotifyIcon(NIM_DELETE, &ni); # endif + vim_free(done); } } else if (STRICMP(argv[i], "--remote-expr") == 0) |