0
0
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:
Bram Moolenaar
2016-03-19 14:16:39 +01:00
parent c0a1d7f3ad
commit ba8cd122ef
2 changed files with 3 additions and 0 deletions

View File

@@ -3404,6 +3404,7 @@ add_pack_plugin(char_u *fname, void *cookie)
vim_free(cmd);
}
#endif
vim_free(pat);
}
theend: