commit | 0107f5ba87ca9427500d0fc42ec80a1f3fca9fdb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Dec 28 22:51:20 2015 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Dec 28 22:51:20 2015 +0100 |
tree | 23f551472a7fa74c47aeee23e01df5b003ff2e55 | |
parent | 40bbceee2213a6fa8fdc1d3f3920d61fb5370803 [diff] [blame] |
patch 7.4.989 Problem: Leaking memory when hash_add() fails. Coverity error 99126. Solution: When hash_add() fails free the memory.
diff --git a/src/version.c b/src/version.c index fcc22cd..ddf260b 100644 --- a/src/version.c +++ b/src/version.c
@@ -742,6 +742,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 989, +/**/ 988, /**/ 987,