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 DIR leak in blit::list_files #761

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

Daft-Freak
Copy link
Collaborator

blit::list_files has been leaking a whole 56 bytes... for the last two years... This fixes it by just putting the DIR object on the stack instead.

(I wasn't even doing blit stuff, just came to uh, "borrow" some of the fatfs glue)

@Gadgetoid Gadgetoid merged commit 730cb34 into 32blit:master Mar 10, 2022
@Gadgetoid
Copy link
Contributor

Thank you!

Oooooh whaddya borrow it for, anything interesting?

@Daft-Freak Daft-Freak deleted the list_diles-DIR-leak branch March 10, 2022 16:41
@Daft-Freak
Copy link
Collaborator Author

Hmm, nothing interesting, at least not yet 😄

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.

2 participants