0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.1142

Problem:    Memory leak in ":syntime report".
Solution:   Clear the grow array. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2013-06-07 19:48:39 +02:00
parent a238431302
commit 45fc539fe0
2 changed files with 3 additions and 0 deletions

View File

@@ -6689,6 +6689,7 @@ syntime_report()
msg_outtrans_len(p->pattern, len); msg_outtrans_len(p->pattern, len);
MSG_PUTS("\n"); MSG_PUTS("\n");
} }
ga_clear(&ga);
if (!got_int) if (!got_int)
{ {
MSG_PUTS("\n"); MSG_PUTS("\n");

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1142,
/**/ /**/
1141, 1141,
/**/ /**/