-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZstdInputStreamNoFinalizer / ZstdOutputStreamNoFinalizer may leak buf…
…fers when these are not arrray based. Motivation: We need to put the buffers back in the pool in case of validation failure as otherwise the buffer will leak. Modifications: Handle validation and buffer lifecycle via a static helper method Result: No more leak possible
- Loading branch information
1 parent
20014d1
commit 26ad7ed
Showing
3 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters