diff options
author | 2017-01-10 09:01:18 +0000 | |
---|---|---|
committer | 2017-01-10 09:01:18 +0000 | |
commit | 89bc1dba9ad97856f086144d8ec7825bce105974 (patch) | |
tree | 50b0a530fa2d1b6a76805d7cc97cef6779035d11 /sys/netinet/tcp_usrreq.c | |
parent | Hyper-V hosts make 64 bytes of entropy available to guests in the form (diff) | |
download | wireguard-openbsd-89bc1dba9ad97856f086144d8ec7825bce105974.tar.xz wireguard-openbsd-89bc1dba9ad97856f086144d8ec7825bce105974.zip |
Remove NULL checks before m_free(9), it deals with it.
ok bluhm@, kettenis@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 39705864219..fca2b4ad67f 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.141 2017/01/03 10:52:21 mpi Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.142 2017/01/10 09:01:18 mpi Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -569,8 +569,7 @@ tcp_ctloutput(int op, struct socket *so, int level, int optname, error = ENOPROTOOPT; break; } - if (m) - (void) m_free(m); + m_free(m); break; case PRCO_GETOPT: |