mirror of
https://github.com/vim/vim.git
synced 2025-10-26 09:14:23 -04:00
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:
committed by
Bram Moolenaar
parent
35d21c6830
commit
956be4678f
@@ -707,6 +707,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
361,
|
||||
/**/
|
||||
360,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user