diff options
author | mdf <mdf@FreeBSD.org> | 2010-10-19 16:06:00 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2010-10-19 16:06:00 +0000 |
commit | 3f66b926771c75cf92084431cf4f12eecfd68413 (patch) | |
tree | 831707880f4bd04c7cad195045b95a95f37ab310 /share | |
parent | f75a446d3c1a739748d2b754bed562e2fb1be7e2 (diff) | |
download | FreeBSD-src-3f66b926771c75cf92084431cf4f12eecfd68413.zip FreeBSD-src-3f66b926771c75cf92084431cf4f12eecfd68413.tar.gz |
uma_zfree(zone, NULL) should do nothing, to match free(9).
Noticed by: Ron Steinke <rsteinke at isilon dot com>
MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/zone.9 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9 index 304b7f0..a2132b5 100644 --- a/share/man/man9/zone.9 +++ b/share/man/man9/zone.9 @@ -153,6 +153,13 @@ Items are released back to the zone from which they were allocated by calling .Fn uma_zfree with a pointer to the zone and a pointer to the item. +If +.Fa item +is +.Dv NULL , +then +.Fn uma_zfree +does nothing. .Pp The variations .Fn uma_zalloc_arg |