commit | 8e7cc6b920ddea37deaa5e6b7b3bdfff2222d137 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 30 10:32:25 2021 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 30 10:32:25 2021 +0000 |
tree | ee2e602e1f264c219f2e7f3bfc7628b8b6bb7e85 | |
parent | ab16ad33ba10dd12ff6660fa57b88f1a30ddd8ba [diff] [blame] |
patch 8.2.3942: Coverity reports a possible memory leak Problem: Coverity reports a possible memory leak. Solution: Free the array if allocation fails.
diff --git a/src/version.c b/src/version.c index 2a5260a..70372a6 100644 --- a/src/version.c +++ b/src/version.c
@@ -750,6 +750,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3942, +/**/ 3941, /**/ 3940,