commit | d1d2684c8006105444d249e846576c23d79ad4ee | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Mar 31 10:13:47 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Mar 31 10:13:47 2022 +0100 |
tree | 2f1930c5916101d224c632bcffe37889c25d4434 | |
parent | 1712518f4808eb0bb59c8895aa0c17c3f04572a7 [diff] [blame] |
patch 8.2.4652: leaking memory if assignment fails Problem: Leaking memory if assignment fails. Solution: Clear assigned value on failure.
diff --git a/src/version.c b/src/version.c index fdc4ae3..843affd 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4652, +/**/ 4651, /**/ 4650,