mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-08 22:30:23 -07:00
lisp stack: deallocate the old stack after resizing
Just like with other stacks we call ecl_dealloc on the old stack. Previously we had stack frames that could have referenced it, but we can treat it like other stacks, because there are not lingering references.
This commit is contained in:
parent
2f9ce70e8f
commit
db9f22c190
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ ecl_stack_set_size(cl_env_ptr env, cl_index tentative_new_size)
|
|||
}
|
||||
ECL_STACK_RESIZE_ENABLE_INTERRUPTS(env);
|
||||
|
||||
ecl_dealloc(old_stack);
|
||||
return env->stack_top;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue