# HG changeset patch # User Christian Brabandt # Date 1458394205 -3600 # Node ID 3dacf96b4020b91b4176a82c6fa45493bf7121cd # Parent 6e76a0cca2b5c7405f3f3ea692b58aca98a07f4f commit https://github.com/vim/vim/commit/ba8cd122ef60a7c71a7723be0d635f0c2d4556ab Author: Bram Moolenaar Date: Sat Mar 19 14:16:39 2016 +0100 patch 7.4.1596 Problem: Memory leak. (Coverity) Solution: Free the pattern. diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -3404,6 +3404,7 @@ add_pack_plugin(char_u *fname, void *coo vim_free(cmd); } #endif + vim_free(pat); } theend: diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1596, +/**/ 1595, /**/ 1594,