Page MenuHomeFreeBSD

Fix error-path resource leaks in iflib registration routines
ClosedPublic

Authored by pkelsey on Jan 6 2019, 5:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 9:02 AM
Unknown Object (File)
Sun, Feb 8, 5:13 AM
Unknown Object (File)
Fri, Jan 30, 7:37 PM
Unknown Object (File)
Jan 10 2026, 8:34 PM
Unknown Object (File)
Nov 27 2025, 10:48 PM
Unknown Object (File)
Nov 20 2025, 9:36 PM
Unknown Object (File)
Nov 20 2025, 9:31 PM
Unknown Object (File)
Nov 20 2025, 9:29 PM
Subscribers

Details

Summary

This patch fixes various resource leaks that can occur in the error paths of iflib_device_register() and iflib_pseudo_register().

Diff Detail

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

Event Timeline

Looks good, only a tiny nitpick on the fail label.

This revision is now accepted and ready to land.Jan 7 2019, 9:03 PM

Looks good, only a tiny nitpick on the fail label.

Will make them consistent prior to commit.

This revision was automatically updated to reflect the committed changes.