Page MenuHomeFreeBSD

Fix memory leak in sddaregister().
ClosedPublic

Authored by bz on Aug 7 2020, 11:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 7, 10:37 PM
Unknown Object (File)
Thu, Nov 27, 2:04 PM
Unknown Object (File)
Thu, Nov 27, 12:20 PM
Unknown Object (File)
Tue, Nov 25, 10:06 PM
Unknown Object (File)
Fri, Nov 21, 7:48 PM
Unknown Object (File)
Nov 10 2025, 10:50 AM
Unknown Object (File)
Nov 6 2025, 10:58 PM
Unknown Object (File)
Nov 5 2025, 1:53 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