Mercurial > vim
comparison src/version.c @ 24448:faac16c365b6 v8.2.2764
patch 8.2.2764: memory leak when default function argument is allocated
Commit: https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 14 17:06:43 2021 +0200
patch 8.2.2764: memory leak when default function argument is allocated
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Apr 2021 17:15:05 +0200 |
parents | f388a033e568 |
children | 3e1886f1e875 |
comparison
equal
deleted
inserted
replaced
24447:bbe84a902d14 | 24448:faac16c365b6 |
---|---|
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 2764, | |
753 /**/ | 755 /**/ |
754 2763, | 756 2763, |
755 /**/ | 757 /**/ |
756 2762, | 758 2762, |
757 /**/ | 759 /**/ |