diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-01-11 18:05:40 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-01-11 18:05:40 +0200 |
commit | 36b953947ee2ee0411139bd4ad7dcffdcc403036 (patch) | |
tree | e2bbd90e8712a1d9f7f011805ca35a5c92cb447b /lisp/progmodes/ada-mode.el | |
parent | 200675299e24139ccce444a7ca5d59a2aed2891c (diff) | |
download | emacs-36b953947ee2ee0411139bd4ad7dcffdcc403036.tar.gz emacs-36b953947ee2ee0411139bd4ad7dcffdcc403036.tar.bz2 emacs-36b953947ee2ee0411139bd4ad7dcffdcc403036.zip |
Avoid an infloop when we run out of memory
* src/alloc.c (garbage_collect_1): Don't bother saving and
restoring the echo-area message if we are GC'ing after running out
of memory. This avoids an infloop due to repeated attempts to
allocate memory for the cons cell needed to save the message,
which signals the memory-full error, which attempts to save the
echo-area message, which signals memory-full again, etc.
Diffstat (limited to 'lisp/progmodes/ada-mode.el')
0 files changed, 0 insertions, 0 deletions