Page MenuHomeFreeBSD

Fix memory leak in sddaregister().
ClosedPublic

Authored by bz on Aug 7 2020, 11:50 AM.
Tags
None
Referenced Files
F167504337: D25987.id75590.diff
Sat, Aug 22, 8:48 AM
Unknown Object (File)
Wed, Aug 12, 4:04 PM
Unknown Object (File)
Wed, Aug 12, 4:04 PM
Unknown Object (File)
Wed, Aug 12, 12:10 AM
Unknown Object (File)
Tue, Aug 11, 5:43 AM
Unknown Object (File)
Sat, Aug 8, 6:25 PM
Unknown Object (File)
Fri, Aug 7, 3:20 PM
Unknown Object (File)
Jun 24 2026, 1:35 PM
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