diff options
author | attilio <attilio@FreeBSD.org> | 2013-03-04 13:14:59 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-03-04 13:14:59 +0000 |
commit | 1be810ec7308568f15799ceb7f6ad7162994537c (patch) | |
tree | fb5f2f94d7ff72f1714d3bbeff57da4a8fff44e6 /sys/compat/linux/linux_socket.c | |
parent | df5bf2af9de4e98baa790d9a97d7617ce5baab8f (diff) | |
parent | e5bdd2f06e53c260f9b92776f7f3b1fe5c140dae (diff) | |
download | FreeBSD-src-1be810ec7308568f15799ceb7f6ad7162994537c.zip FreeBSD-src-1be810ec7308568f15799ceb7f6ad7162994537c.tar.gz |
MFC
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
-rw-r--r-- | sys/compat/linux/linux_socket.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index cd288f8..36b23ac 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1443,10 +1443,8 @@ out: bad: free(iov, M_IOV); - if (control != NULL) - m_freem(control); - if (linux_cmsg != NULL) - free(linux_cmsg, M_TEMP); + m_freem(control); + free(linux_cmsg, M_TEMP); return (error); } |