Page MenuHomeFreeBSD

Fix memory leak in sddaregister().
ClosedPublic

Authored by bz on Aug 7 2020, 11:50 AM.
Tags
None
Referenced Files
F105968518: D25987.id75590.diff
Mon, Dec 23, 6:15 AM
F105956081: D25987.diff
Mon, Dec 23, 2:21 AM
Unknown Object (File)
Nov 6 2024, 1:02 PM
Unknown Object (File)
Oct 25 2024, 6:29 AM
Unknown Object (File)
Oct 20 2024, 7:15 AM
Unknown Object (File)
Oct 4 2024, 9:56 PM
Unknown Object (File)
Oct 4 2024, 11:00 AM
Unknown Object (File)
Oct 4 2024, 1:58 AM
Subscribers
None

Details

Summary

In case we are failing to allocate mmcdata, we are returning with
a softc allocated but not attached to anything and thus leak the
memory.

MFC after: 2 weeks
X-MFC: only if we also mfc other mmccam changes?

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32834
Build 30245: arc lint + arc unit