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 leak risk when file write err #744

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

echoface
Copy link
Contributor

@echoface echoface commented Jun 8, 2022

Here a risk memory leak without closing file descriptor correctly, when disk write fail.

@ghost
Copy link

ghost commented Jun 8, 2022

👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

@echoface echoface force-pushed the fix-memory-leak-when-save-file-fail branch from fc8dcb4 to 83a6196 Compare June 8, 2022 13:58
Copy link
Owner

@tealeg tealeg left a comment

Choose a reason for hiding this comment

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

Great work, good catch!

@tealeg tealeg merged commit 2928c0f into tealeg:master Jun 8, 2022
dolmen pushed a commit to dolmen-go/tealeg-xlsx.fork that referenced this pull request May 11, 2023
…-file-fail

fix: memory leak risk when file write err
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