mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.3.742
Problem: Leaking memory when :vimgrep restores the directory. Solution: Free the allocated memory. (Christian Brabandt)
This commit is contained in:
parent
2e18a12780
commit
f135435f80
@ -3515,6 +3515,7 @@ restore_start_dir(dirname_start)
|
||||
ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd;
|
||||
ex_cd(&ea);
|
||||
}
|
||||
vim_free(dirname_now);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -725,6 +725,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
742,
|
||||
/**/
|
||||
741,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user