Page MenuHomeFreeBSD

Add note that contigfree(9) does not accept NULL
ClosedPublic

Authored by emaste on Jan 29 2015, 5:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 10, 5:52 PM
Unknown Object (File)
Jan 20 2025, 11:52 PM
Unknown Object (File)
Jan 20 2025, 3:55 AM
Unknown Object (File)
Nov 21 2024, 9:56 PM
Unknown Object (File)
Sep 24 2024, 9:22 AM
Unknown Object (File)
Sep 22 2024, 5:47 PM
Unknown Object (File)
Sep 14 2024, 8:49 AM
Unknown Object (File)
Sep 11 2024, 3:50 PM
Subscribers

Details

Summary

free(3) and free(9) accept NULL, so be explicit that contigfree(9) does not.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Add note that contigfree(9) does not accept NULL.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: Doc Committers.
wblock added inline comments.
share/man/man9/contigmalloc.9
107 ↗(On Diff #3515)

"may not" implies permission, but probably instead this is meant to say that NULL is not a valid input. Maybe:

.Fn contigfree
does not accept
.Dv NULL
as an address input, unlike
.Xr free 9 .

emaste updated this revision to Diff 3527.

Closed by commit rS277908 (authored by @emaste).