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(esp_tinyusb): Close lazy-initialized newlib locks #32

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

tore-espressif
Copy link
Collaborator

Newlib locks are implemented with FreeRTOS mutexes: they must be closed to avoid memory leaks.

Newlib locks are implemented with FreeRTOS mutexes: they must be closed
to avoid memory leaks.

Closes espressif/esp-idf#13674
Copy link
Collaborator

@peter-marcisovsky peter-marcisovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified the changes on target, LGTM. Thanks for a quick fix.

@tore-espressif tore-espressif merged commit 84b1011 into master Apr 23, 2024
13 checks passed
@tore-espressif tore-espressif deleted the fix/tinyusb_vfs_mem_leak branch April 23, 2024 11:43
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.

examples: tusb_console( esp tusb console duplicate registration release causing memory leaks ) (IDFGH-12683)
2 participants