[Bug 270270] mii: memory leak when mii_attach() fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Mar 2023 03:41:18 UTC

--- Comment #2 from Mina Galić <freebsd@igalic.co> ---
from IRC:

16:31 <kevans91_> meeena: mii_attach doesn't appear to allocate the softc
except by device_* API that does it implicitly, why isn't this cleaned up with
device_delete_child(), I wonder?
16:33 <kevans91_> it doesn't seem to claim the softc to prevent it from being
cleaned up elsewhere

You are receiving this mail because:
You are the assignee for the bug.