vim-patch:7.4.1596

Problem:    Memory leak. (Coverity)
Solution:   Free the pattern.

ba8cd122ef
This commit is contained in:
James McCoy
2016-06-22 20:10:37 -04:00
parent 443d335ce3
commit 4bd14e921b
2 changed files with 2 additions and 1 deletions

View File

@@ -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:

View File

@@ -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