mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.916
Problem: When running out of memory while copying a dict memory may be freed twice. (ZyX) Solution: Do not call the garbage collector when running out of memory.
This commit is contained in:
parent
174674743d
commit
8648357841
@ -952,9 +952,6 @@ lalloc(size, message)
|
|||||||
|
|
||||||
clear_sb_text(); /* free any scrollback text */
|
clear_sb_text(); /* free any scrollback text */
|
||||||
try_again = mf_release_all(); /* release as many blocks as possible */
|
try_again = mf_release_all(); /* release as many blocks as possible */
|
||||||
#ifdef FEAT_EVAL
|
|
||||||
try_again |= garbage_collect(); /* cleanup recursive lists/dicts */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
releasing = FALSE;
|
releasing = FALSE;
|
||||||
if (!try_again)
|
if (!try_again)
|
||||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
916,
|
||||||
/**/
|
/**/
|
||||||
915,
|
915,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user