From: Bram Moolenaar Date: Fri, 7 Jun 2013 17:48:39 +0000 (+0200) Subject: updated for version 7.3.1142 X-Git-Tag: v7.3.1142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45fc539fe048e037a8fc8dc8c043a781c30c9c73;p=vim updated for version 7.3.1142 Problem: Memory leak in ":syntime report". Solution: Clear the grow array. (Dominique Pelle) --- 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 @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1142, /**/ 1141, /**/