diff options
-rw-r--r-- | net/decnet/af_decnet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 12bf7d4c16c6..963da86d4ecf 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c | |||
@@ -2071,8 +2071,7 @@ static int dn_sendmsg(struct kiocb *iocb, struct socket *sock, | |||
2071 | } | 2071 | } |
2072 | out: | 2072 | out: |
2073 | 2073 | ||
2074 | if (skb) | 2074 | kfree_skb(skb); |
2075 | kfree_skb(skb); | ||
2076 | 2075 | ||
2077 | release_sock(sk); | 2076 | release_sock(sk); |
2078 | 2077 | ||