Mercurial > vim
comparison src/version.c @ 24416:1754622e1bce v8.2.2748
patch 8.2.2748: Vim9: memory leak when calling :def function fails
Commit: https://github.com/vim/vim/commit/c4297697761230489a025b3e39b992cca845b1b3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 10 20:46:48 2021 +0200
patch 8.2.2748: Vim9: memory leak when calling :def function fails
Problem: Vim9: memory leak when calling :def function fails.
Solution: Jump to failed_early instead of returning.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Apr 2021 21:00:04 +0200 |
parents | f539864ba851 |
children | baf4913fe21c |
comparison
equal
deleted
inserted
replaced
24415:5a28c3b69079 | 24416:1754622e1bce |
---|---|
748 NULL | 748 NULL |
749 }; | 749 }; |
750 | 750 |
751 static int included_patches[] = | 751 static int included_patches[] = |
752 { /* Add new patch number below this line */ | 752 { /* Add new patch number below this line */ |
753 /**/ | |
754 2748, | |
753 /**/ | 755 /**/ |
754 2747, | 756 2747, |
755 /**/ | 757 /**/ |
756 2746, | 758 2746, |
757 /**/ | 759 /**/ |