[Bug 270270] mii: memory leak when mii_attach() fails
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 270270] mii: memory leak when mii_attach() fails"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Mar 2023 03:41:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270270 --- 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.