Page MenuHomeFreeBSD

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

Authored by kp on May 21 2021, 3:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 10:44 AM
Unknown Object (File)
Tue, Dec 17, 3:25 AM
Unknown Object (File)
Tue, Dec 10, 6:59 PM
Unknown Object (File)
Dec 5 2024, 8:10 PM
Unknown Object (File)
Dec 4 2024, 2:21 PM
Unknown Object (File)
Dec 4 2024, 2:20 PM
Unknown Object (File)
Dec 4 2024, 2:20 PM
Unknown Object (File)
Dec 4 2024, 1:59 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