commit | 8dd3a43d75550e9b5736066124c97697564f769e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Aug 01 20:46:25 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 01 20:46:25 2016 +0200 |
tree | 5768a06605c7ffaacfbb8aa385060cc7be223fec | |
parent | ba96e9af388804364425185b47eed14988302865 [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index ff088fe..2361666 100644 --- a/src/version.c +++ b/src/version.c
@@ -764,6 +764,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2142, +/**/ 2141, /**/ 2140,