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)
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
Unknown Object (File)
Dec 4 2024, 2:20 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable