mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +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");
|
do_cmdline_cmd("augroup END");
|
||||||
}
|
}
|
||||||
xfree(cmd);
|
xfree(cmd);
|
||||||
|
xfree(pat);
|
||||||
}
|
}
|
||||||
|
|
||||||
theend:
|
theend:
|
||||||
|
@@ -98,7 +98,7 @@ static int included_patches[] = {
|
|||||||
// 1599 NA
|
// 1599 NA
|
||||||
// 1598 NA
|
// 1598 NA
|
||||||
// 1597 NA
|
// 1597 NA
|
||||||
// 1596,
|
1596,
|
||||||
// 1595 NA
|
// 1595 NA
|
||||||
// 1594 NA
|
// 1594 NA
|
||||||
// 1593 NA
|
// 1593 NA
|
||||||
|
Reference in New Issue
Block a user