changeset 4791:65cef998f860 v7.3.1142

updated for version 7.3.1142 Problem: Memory leak in ":syntime report". Solution: Clear the grow array. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Fri, 07 Jun 2013 19:48:39 +0200
parents 5c4938ae9ef3
children 804da5390522
files src/syntax.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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");
--- 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,