ResponseStatusExtensions.SubDocPathException does not dispose of the IMemoryOwner

Description

When IOperation.ExtractBody is called it should always dispose of the returned IMemoryOwner, generally with a using statement. Failure to do so will cause the buffer to be garbage collected rather than returned to the ArrayPool. This, in turn, can lead to memory holes and decreased GC efficiency.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 10, 2023 at 6:11 PM
Updated May 12, 2023 at 9:07 PM
Resolved May 12, 2023 at 9:07 PM
Instabug