diff src/syntax.c @ 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 e4bc21965079
children 220bdea4f579
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");