Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leaks in the code #2753

Merged
merged 5 commits into from
Jul 16, 2024
Merged

Conversation

advikkabra
Copy link
Collaborator

This should be an ongoing task since the current compiler has a large amount of memory elaks.

This implements recursive free logic for dictionaries, sets and lists, when they are cleared and rehashed. In future PRs, there are many more places to fix memory leaks.

@advikkabra advikkabra merged commit f4c4b94 into lcompilers:main Jul 16, 2024
15 checks passed
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.

2 participants