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)
Fri, Sep 26, 2:19 AM
Unknown Object (File)
Tue, Sep 16, 10:49 AM
Unknown Object (File)
Tue, Sep 16, 6:28 AM
Unknown Object (File)
Tue, Sep 16, 4:15 AM
Unknown Object (File)
Tue, Sep 16, 3:52 AM
Unknown Object (File)
Sep 7 2025, 3:50 AM
Unknown Object (File)
Jul 22 2025, 3:02 PM
Unknown Object (File)
Jul 22 2025, 3: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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable