Skip to content

Commit

Permalink
Merge pull request #59568 from steveharter/JsonDocumentArrayPool
Browse files Browse the repository at this point in the history
[release/6.0-rc2] Fix ArrayPool leak with JsonDocument
  • Loading branch information
danmoseley authored Sep 24, 2021
2 parents 16397a0 + f2f7d60 commit 3e77226
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 3e77226

Please sign in to comment.