From 45fc539fe048e037a8fc8dc8c043a781c30c9c73 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 7 Jun 2013 19:48:39 +0200 Subject: [PATCH] updated for version 7.3.1142 Problem: Memory leak in ":syntime report". Solution: Clear the grow array. (Dominique Pelle) --- src/syntax.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) 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, /**/ -- 2.50.1