Skip to content

memory leak(s) caused by improper handling of dynamically allocated memory #11

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

Open
AntonEvmenenko opened this issue Dec 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@AntonEvmenenko
Copy link
Collaborator

AntonEvmenenko commented Dec 17, 2022

The project was ported from Java to C++ using automated tools, and during the porting process, raw pointers were used extensively, as they were the simplest option for the port. However, this has resulted in a memory leaking issue in the project.

Upon investigating the issue, it appears that the memory leak is caused by the improper handling of dynamically allocated memory. In particular, it seems that dynamically allocated memory is not being properly deallocated, leading to a buildup of unreferenced memory over time.

In order to fix this issue, it will be necessary to thoroughly review the code and identify the root causes of the problem. This may involve manually correcting the C++ code to properly handle dynamically allocated memory.

@AntonEvmenenko AntonEvmenenko added the bug Something isn't working label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant