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:
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2142,
|
||||
/**/
|
||||
2141,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user