summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r--net/unix/af_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 319153850be1..7f8f3859cdb3 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -2101,6 +2101,7 @@ restart_locked:
goto out_sock_put;
}
+ sock_put(other);
goto lookup;
}