diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-09-19 09:02:17 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-09-19 09:02:17 +0000 |
commit | 09647955ff683e2d84aa41b5f47c75371e904893 (patch) | |
tree | 7d1149d3ea74e130c558ff9e6f4875addae2ef68 | |
parent | 1892ffe471a1a6daeba5187eb37c5fe9cb48cf3e (diff) |
Document that rtfree(9) accepts NULL.
From Michael McConville via jmc@
-rw-r--r-- | share/man/man9/rtalloc.9 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9 index ec53369ce4a..1558e5bff15 100644 --- a/share/man/man9/rtalloc.9 +++ b/share/man/man9/rtalloc.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rtalloc.9,v 1.7 2015/09/11 22:54:26 jmc Exp $ +.\" $OpenBSD: rtalloc.9,v 1.8 2015/09/19 09:02:16 mpi Exp $ .\" .\" Copyright (c) 2014-2015 Martin Pieuchot .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 11 2015 $ +.Dd $Mdocdate: September 19 2015 $ .Dt RTALLOC 9 .Os .Sh NAME @@ -88,6 +88,11 @@ The function releases a reference to the routing entry .Fa rt , freeing it if the reference count drops to 0. +If +.Fa rt +is a +.Dv NULL +pointer, no action occurs. .Sh CONTEXT .Fn rtalloc , .Fn rtalloc_mpath , |