mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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);
|
vim_free(cmd);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
vim_free(pat);
|
||||||
}
|
}
|
||||||
|
|
||||||
theend:
|
theend:
|
||||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1596,
|
||||||
/**/
|
/**/
|
||||||
1595,
|
1595,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user