Mercurial > vim
comparison src/version.c @ 25816:d9a0847550c6 v8.2.3443
patch 8.2.3443: Vim9: memory leak when and/or fails
Commit: https://github.com/vim/vim/commit/3dfe2e0fb8768914a019fa04b1ed9581e33c9b26
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 16 20:14:51 2021 +0200
patch 8.2.3443: Vim9: memory leak when and/or fails
Problem: Vim9: memory leak when and/or fails.
Solution: Also clear the growarray when the length is zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 Sep 2021 20:15:04 +0200 |
parents | dd4e86558836 |
children | 37bc83bbda91 |
comparison
equal
deleted
inserted
replaced
25815:e41747c63ed5 | 25816:d9a0847550c6 |
---|---|
753 NULL | 753 NULL |
754 }; | 754 }; |
755 | 755 |
756 static int included_patches[] = | 756 static int included_patches[] = |
757 { /* Add new patch number below this line */ | 757 { /* Add new patch number below this line */ |
758 /**/ | |
759 3443, | |
758 /**/ | 760 /**/ |
759 3442, | 761 3442, |
760 /**/ | 762 /**/ |
761 3441, | 763 3441, |
762 /**/ | 764 /**/ |