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 in function 'sc_adb_list_devices' #4636

Closed
JoraGevorgyan opened this issue Feb 1, 2024 · 1 comment
Closed

Memory leak in function 'sc_adb_list_devices' #4636

JoraGevorgyan opened this issue Feb 1, 2024 · 1 comment

Comments

@JoraGevorgyan
Copy link

The memory leak is found by a static analyzer developed at CAST.

The memory allocated in buf is not freed before return

rom1v added a commit that referenced this issue Feb 1, 2024
@rom1v
Copy link
Collaborator

rom1v commented Feb 1, 2024

Thank you. Fixed by 3333e67 on dev branch.

@rom1v rom1v closed this as completed Feb 1, 2024
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

No branches or pull requests

2 participants