]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1142 v7.3.1142
authorBram Moolenaar <Bram@vim.org>
Fri, 7 Jun 2013 17:48:39 +0000 (19:48 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 Jun 2013 17:48:39 +0000 (19:48 +0200)
Problem:    Memory leak in ":syntime report".
Solution:   Clear the grow array. (Dominique Pelle)

src/syntax.c
src/version.c

index 6cd583498b497596bccb24a334454a710fc9a5bb..f2df13a3f0d69b1bedfa65b5f047f81b843898e5 100644 (file)
@@ -6689,6 +6689,7 @@ syntime_report()
        msg_outtrans_len(p->pattern, len);
        MSG_PUTS("\n");
     }
+    ga_clear(&ga);
     if (!got_int)
     {
        MSG_PUTS("\n");
index fb110321df9556ad50f811cd4c9bb9aec3e625f1..b3c7be57392dce8dd2576edba99c78d495cdf877 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1142,
 /**/
     1141,
 /**/