Skip to content

Freeing short_path to fix win watch leak#4647

Merged
bnoordhuis merged 1 commit intolibuv:v1.xfrom
amcgoogan:amcgoogan-win-fs-watch-leak-fix
Dec 12, 2024
Merged

Freeing short_path to fix win watch leak#4647
bnoordhuis merged 1 commit intolibuv:v1.xfrom
amcgoogan:amcgoogan-win-fs-watch-leak-fix

Conversation

@amcgoogan
Copy link
Copy Markdown
Contributor

This PR is in response to a node bug I found:
nodejs/node#52769

The leak appears to be coming from libuv leaking short_path. This PR fixes it by freeing it.

Copy link
Copy Markdown
Member

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

Looks correct to me, thanks.

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