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 various memory leaks #2479

Merged
merged 1 commit into from
Jan 9, 2018
Merged

Conversation

Praetonus
Copy link
Member

No description provided.

@Praetonus Praetonus added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Jan 9, 2018
@SeanTAllen
Copy link
Member

@Praetonus before this gets merged can you update the commit to have a commit message that describes what is being fixed. "Various memory leaks" will end up being a nightmare when doing history spelunking without more information.

@Praetonus
Copy link
Member Author

@SeanTAllen I'll update.

- Leak in `genexe` and`codegen_gen_test` with the ASTs built to reach
 `Main.create` and `Env._create`.
- Leak in the `ffi_decls_t` and `tbaa_metadatas_t` hashmap wheres no
  elements were being freed.
- Leak in `genfun_forward` with the buffer used to convert arguments.
- Leak in `eq_param_type` with the method lookup data structure.
- Leak in `unsafe_number_conversion` when doing an early return in the
  function.
- Leak in `expr_lambda` with various type inference ASTs.
- Leak in `ifdef_cond_normalise` with the build configuration data
  structure.
@SeanTAllen SeanTAllen merged commit 5f9e0c6 into ponylang:master Jan 9, 2018
ponylang-main added a commit that referenced this pull request Jan 9, 2018
@Praetonus Praetonus deleted the fix-memory-leaks branch January 9, 2018 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants