mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -952,9 +952,6 @@ lalloc(size, message)
|
||||
|
||||
clear_sb_text(); /* free any scrollback text */
|
||||
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;
|
||||
if (!try_again)
|
||||
|
Reference in New Issue
Block a user