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 10, 6:59 PM
Unknown Object (File)
Thu, Dec 5, 8:10 PM
Unknown Object (File)
Wed, Dec 4, 2:21 PM
Unknown Object (File)
Wed, Dec 4, 2:20 PM
Unknown Object (File)
Wed, Dec 4, 2:20 PM
Unknown Object (File)
Wed, Dec 4, 1:59 PM
Unknown Object (File)
Fri, Nov 29, 6:27 PM
Unknown Object (File)
Sun, Nov 24, 7:10 AM

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