diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-11-20 18:07:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-11-20 18:07:24 +0100 |
commit | e47a153317c046ea5d335940412999e7dc604c33 (patch) | |
tree | 15b7567fcba04e8fd65909799b56e38604cd2e0a /libguile/threads.c | |
parent | f72cd791520ee3015a8b7d4e5059b3ed7a1f24bd (diff) | |
download | guile-e47a153317c046ea5d335940412999e7dc604c33.tar.gz |
Work around unwanted stack retention when using prompts.
Fixes <https://bugs.gnu.org/59021>.
Previously, the stack allocated in 'capture_stack' and stored in
'p->stack_bottom' could be retained, leading to heap growth.
* libguile/vm.c (capture_stack): Make a single 'scm_gc_malloc' call
instead of two.
Diffstat (limited to 'libguile/threads.c')
0 files changed, 0 insertions, 0 deletions