1
0
forked from aniani/vim

patch 7.4.2142

Problem:    Leaking memory when redefining a function.
Solution:   Don't increment the function reference count when it's found by
            name. Don't remove the wrong function from the hashtab.  More
            reference counting fixes.
This commit is contained in:
Bram Moolenaar
2016-08-01 20:46:25 +02:00
parent ba96e9af38
commit 8dd3a43d75
3 changed files with 66 additions and 44 deletions

View File

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