forked from aniani/vim
patch 8.2.4990: memory leak when :defcompile fails
Problem: Memory leak when :defcompile fails. Solution: Free fname when returning early.
This commit is contained in:
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4990,
|
||||
/**/
|
||||
4989,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user