mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:7.4.1596
Problem: Memory leak. (Coverity)
Solution: Free the pattern.
ba8cd122ef
This commit is contained in:
@@ -2533,6 +2533,7 @@ static void add_pack_plugin(char_u *fname, void *cookie)
|
||||
do_cmdline_cmd("augroup END");
|
||||
}
|
||||
xfree(cmd);
|
||||
xfree(pat);
|
||||
}
|
||||
|
||||
theend:
|
||||
|
Reference in New Issue
Block a user