summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 8953a30a60b..b6dc80aadde 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.209 2016/11/21 09:09:06 mpi Exp $ */
+/* $OpenBSD: rtsock.c,v 1.210 2016/11/29 10:22:30 jsg Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -272,8 +272,7 @@ route_ctloutput(int op, struct socket *so, int level, int optname,
error = ENOPROTOOPT;
break;
}
- if (m)
- m_free(m);
+ m_free(m);
break;
case PRCO_GETOPT:
switch (optname) {