Skip to content

Commit

Permalink
Fix ArrayPool leak with JsonDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
steveharter committed Sep 24, 2021
1 parent 212c440 commit f2f7d60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private JsonDocument(
_utf8Json = utf8Json;
_parsedData = parsedData;

if (_extraRentedArrayPoolBytes != null)
if (extraRentedArrayPoolBytes != null)
{
_hasExtraRentedArrayPoolBytes = true;
_extraRentedArrayPoolBytes = extraRentedArrayPoolBytes;
Expand Down

0 comments on commit f2f7d60

Please sign in to comment.