1
0
forked from aniani/vim

patch 9.0.0361: removing a listener may result in a memory leak

Problem:    Removing a listener may result in a memory leak and remove
            subsequent listerns.
Solution:   Init the "prev" pointer only once. (Yegappan Lakshmanan,
            closes #11039)
This commit is contained in:
Yegappan Lakshmanan
2022-09-02 17:12:07 +01:00
committed by Bram Moolenaar
parent 35d21c6830
commit 956be4678f
3 changed files with 35 additions and 2 deletions

View File

@@ -707,6 +707,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
361,
/**/
360,
/**/