Page MenuHomeFreeBSD

Fix memory leak in sddaregister().
ClosedPublic

Authored by bz on Aug 7 2020, 11:50 AM.
Tags
None
Referenced Files
F172918036: D25987.id75590.diff
Tue, Sep 22, 2:19 AM
F172917689: D25987.id75552.diff
Tue, Sep 22, 2:15 AM
F172917526: D25987.diff
Tue, Sep 22, 2:14 AM
Unknown Object (File)
Fri, Sep 18, 4:21 AM
Unknown Object (File)
Wed, Sep 9, 10:51 PM
Unknown Object (File)
Wed, Sep 9, 10:19 PM
Unknown Object (File)
Sun, Sep 6, 3:36 PM
Unknown Object (File)
Sun, Sep 6, 2:07 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