Skip to content

Fixed a potential memory leak risk in MemoryStreamExtension.Write#562

Open
Vincent-X-Zhang wants to merge 1 commit intoS7NetPlus:mainfrom
Vincent-X-Zhang:main
Open

Fixed a potential memory leak risk in MemoryStreamExtension.Write#562
Vincent-X-Zhang wants to merge 1 commit intoS7NetPlus:mainfrom
Vincent-X-Zhang:main

Conversation

@Vincent-X-Zhang
Copy link

Move the function ArrayPool<byte>.Shared.Return to the finally block.

@ynioba
Copy link

ynioba commented Feb 11, 2026 via email

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