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 memory leaks in read_fat() function #104

Merged
merged 1 commit into from
Feb 9, 2019
Merged

Conversation

pali
Copy link
Member

@pali pali commented Nov 18, 2018

Function read_fat() allocates memory to the user supplied buffer. Therefore
that function needs complement function for releasing allocated memory and
user needs to call if after finish its work.

This patch fixes memory leaks in fsck.fat and fatlabel tools.

Fixes #13

Function read_fat() allocates memory to the user supplied buffer. Therefore
that function needs complement function for releasing allocated memory and
user needs to call if after finish its work.

This patch fixes memory leaks in fsck.fat and fatlabel tools.

Fixes dosfstools#13
@pali pali mentioned this pull request Nov 18, 2018
@pali pali merged commit 332fc29 into dosfstools:master Feb 9, 2019
@pali pali deleted the memory-leak branch February 9, 2019 07:53
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.

memory leaks in fsck.fat
1 participant