Skip to content

Fix memory leaks in objpascal and rust - #742

Open
asarhaddon wants to merge 4 commits into
kanaka:masterfrom
asarhaddon:objpascal-rust-gc
Open

asarhaddon wants to merge 4 commits into
kanaka:masterfrom
asarhaddon:objpascal-rust-gc

Conversation

@asarhaddon

Copy link
Copy Markdown
Contributor

Hello.
These commits fix some memory leaks detected with valgrind.

@asarhaddon

This comment was marked as resolved.

@asarhaddon
asarhaddon force-pushed the objpascal-rust-gc branch 2 times, most recently from 852cb65 to da2515f Compare August 28, 2026 11:39
Fix a memory leak detected by
`echo | valgrind --leak-check=full ./step0_repl`
@asarhaddon
asarhaddon force-pushed the objpascal-rust-gc branch 3 times, most recently from 780520f to f75f873 Compare August 28, 2026 14:05
1.85 from Ubuntu is incompatible with latest versions of home,
unicode-segmentation.  This alone could be fixed with exact versions
in Cargo.toml/dependencies.

I want to use the dumpster garbage collector, which does not compile
at all with 1/85.

Take the opportunity to update all dependencies.
Thanks to ogghostjelly for reporting kanaka#709 and suggesting dumpster.

Fix the memory leak detected by
`echo '(let* [a (atom 0) _ (reset! a a)] (fn* [] 0))' | valgrind target/release/stepA_mal`

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant