Page MenuHomeFreeBSD

Fix memory leak in sddaregister().
ClosedPublic

Authored by bz on Aug 7 2020, 11:50 AM.
Tags
None
Referenced Files
F137248866: D25987.id75552.diff
Fri, Nov 21, 7:48 PM
Unknown Object (File)
Mon, Nov 10, 10:50 AM
Unknown Object (File)
Thu, Nov 6, 10:58 PM
Unknown Object (File)
Wed, Nov 5, 1:53 AM
Unknown Object (File)
Tue, Nov 4, 8:04 PM
Unknown Object (File)
Tue, Nov 4, 8:03 PM
Unknown Object (File)
Tue, Nov 4, 8:03 PM
Unknown Object (File)
Tue, Nov 4, 8:02 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