[NET]: Fully fix the memory leaks in sys_accept().
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 1 Apr 2006 20:48:36 +0000 (12:48 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 1 Apr 2006 20:48:36 +0000 (12:48 -0800)
commit9a1875e60e61b563737d8d1fc3876b279710fe93
tree68b54f8b90b046d6cd49f0560c40b1cddb5502a2
parent2722971cbe831117686039d5c334f2c0f560be13
[NET]: Fully fix the memory leaks in sys_accept().

Andi Kleen was right, fput() on sock->file will end up calling
sock_release() if necessary.  So here is the rest of his version
of the fix for these leaks.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c