Mercurial > vim
comparison src/version.c @ 20653:a68591fbb93d v8.2.0880
patch 8.2.0880: leaking memory when using searchcount()
Commit: https://github.com/vim/vim/commit/109aece79d1b5f14f6a84ff2ac068cfffebeba80
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 1 19:08:54 2020 +0200
patch 8.2.0880: leaking memory when using searchcount()
Problem: Leaking memory when using searchcount().
Solution: Free the last used search pattern.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Jun 2020 19:15:03 +0200 |
parents | 3e03edae7e6f |
children | 707b21559848 |
comparison
equal
deleted
inserted
replaced
20652:a0550466b57b | 20653:a68591fbb93d |
---|---|
744 NULL | 744 NULL |
745 }; | 745 }; |
746 | 746 |
747 static int included_patches[] = | 747 static int included_patches[] = |
748 { /* Add new patch number below this line */ | 748 { /* Add new patch number below this line */ |
749 /**/ | |
750 880, | |
749 /**/ | 751 /**/ |
750 879, | 752 879, |
751 /**/ | 753 /**/ |
752 878, | 754 878, |
753 /**/ | 755 /**/ |