ITADN

Memory should be reclaimed in tail calls.

#3384Opendanilp-id 创建于 2026-06-16
D
danilp-idcommented
Memory leak identified in https://github.com/mthom/scryer-prolog/pull/3381: ```prolog ?- [user]. a :- _X = "some useless data", a. % this will leak memory even though _X is not needed for the recursive call ?- a. ^C error('$interrupt_thrown',repl/0). ```
1 条评论