forked from aniani/vim
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:
|
||||
|
Reference in New Issue
Block a user