HomeFreeBSD

Fix a memory leak in dsl_scan_visitbp().

Description

Fix a memory leak in dsl_scan_visitbp().

This should be triggered only if arc_read() fails, i.e., quite rarely.
The same logic is already present in OpenZFS.

PR: 247445
Submitted by: jdolecek@NetBSD.org
MFC after: 1 week

Details

Provenance
markjAuthored on
Parents
rS363372: MFC r362958
Branches
Unknown
Tags
Unknown