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 the Resource leak: fp #16017

Closed
wants to merge 1 commit into from
Closed

Conversation

zengwei00
Copy link
Contributor

fix the Resource leak: fp

Signed-off-by: zengwei [email protected]

Guidelines

  1. Rebase before opening a pull request
  2. If you are sending several unrelated fixes or features, use a branch and a separate pull request for each
  3. If possible try squashing everything in a single commit. This is particularly beneficial in the case of feature merges since it allows easy bisecting when a problem arises

Description

[Description of the pull request, detail any issues you are fixing or any features you are implementing]

Related Issues

[Any issues this pull request may be addressing]

Related Pull Requests

[Any other PRs from related repositories that might be needed for this pull request to work]

Reviewers

[If possible @mention all the people that should review your pull request]

fix the Resource leak: fp

Signed-off-by: zengwei [email protected]
@i30817
Copy link
Contributor

i30817 commented Dec 19, 2023

There are other returns later that leak the file descriptor, if you plan to close it manually instead of letting process exit clean it up.

@LibretroAdmin
Copy link
Contributor

This commit should address all the concerns listed above -
d0a69ff

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.

3 participants