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, Oct 19, 2:12 PM
Unknown Object (File)
Sun, Oct 19, 9:35 AM
Unknown Object (File)
Fri, Oct 17, 7:01 AM
Unknown Object (File)
Fri, Oct 17, 7:01 AM
Unknown Object (File)
Fri, Oct 17, 7:01 AM
Unknown Object (File)
Thu, Oct 16, 9:27 PM
Unknown Object (File)
Fri, Sep 26, 2:19 AM
Unknown Object (File)
Sep 16 2025, 10:49 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