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

Memory leak? #2793

Open
QiAnXinCodeSafe opened this issue Oct 22, 2024 · 1 comment
Open

Memory leak? #2793

QiAnXinCodeSafe opened this issue Oct 22, 2024 · 1 comment
Labels
bug the code does not work as expected

Comments

@QiAnXinCodeSafe
Copy link

Hi all,
This is Qianxin CodeSafe Team, we found a suspicious issue, at


which is allocating memory at
AccessThreadArgs* args = new AccessThreadArgs[FLAGS_thread_num];

If none of the previous loops are truel,this will result in a return of 0 and a memory leak of point “args”

@chenBright
Copy link
Contributor

Thanks for the feedback. I will optimize the implementation and solve the memory leak problem later.

@chenBright chenBright added the bug the code does not work as expected label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug the code does not work as expected
Projects
None yet
Development

No branches or pull requests

2 participants