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");
}
xfree(cmd);
xfree(pat);
}
theend: