Page MenuHomeFreeBSD

dummynet: free(NULL, M_DUMMYNET); is safe
ClosedPublic

Authored by kp on May 21 2021, 3:14 PM.
Tags
None
Referenced Files
F108729925: D30382.diff
Mon, Jan 27, 2:22 PM
Unknown Object (File)
Fri, Jan 17, 4:31 PM
Unknown Object (File)
Mon, Jan 6, 2:11 AM
Unknown Object (File)
Dec 17 2024, 10:44 AM
Unknown Object (File)
Dec 17 2024, 3:25 AM
Unknown Object (File)
Dec 10 2024, 6:59 PM
Unknown Object (File)
Dec 5 2024, 8:10 PM
Unknown Object (File)
Dec 4 2024, 2:21 PM

Details

Summary

There's no need to check pointers for NULL before free()ing them.

No functional change.

MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39338
Build 36227: arc lint + arc unit