diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-07 19:48:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-07 19:48:39 +0200 |
commit | 45fc539fe048e037a8fc8dc8c043a781c30c9c73 (patch) | |
tree | eede017979b5a2776b5e2994712cae426d6c3d42 /src | |
parent | a238431302ff50f7db401248c4e66b8b298222c2 (diff) | |
download | vim-45fc539fe048e037a8fc8dc8c043a781c30c9c73.zip |
updated for version 7.3.1142
Problem: Memory leak in ":syntime report".
Solution: Clear the grow array. (Dominique Pelle)
Diffstat (limited to 'src')
-rw-r--r-- | src/syntax.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c index 6cd583498..f2df13a3f 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -6689,6 +6689,7 @@ syntime_report() msg_outtrans_len(p->pattern, len); MSG_PUTS("\n"); } + ga_clear(&ga); if (!got_int) { MSG_PUTS("\n"); diff --git a/src/version.c b/src/version.c index fb110321d..b3c7be573 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1142, +/**/ 1141, /**/ 1140, |