mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1596
Problem: Memory leak. (Coverity) Solution: Free the pattern.
This commit is contained in:
@@ -3404,6 +3404,7 @@ add_pack_plugin(char_u *fname, void *cookie)
|
||||
vim_free(cmd);
|
||||
}
|
||||
#endif
|
||||
vim_free(pat);
|
||||
}
|
||||
|
||||
theend:
|
||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1596,
|
||||
/**/
|
||||
1595,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user