dlm: free socket in error exit path
authorCasey Dahlin <cdahlin@redhat.com>
Tue, 14 Jul 2009 17:17:51 +0000 (12:17 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 14 Jul 2009 17:28:43 +0000 (12:28 -0500)
commita89d63a159b1ba5833be2bef00adf8ad8caac8be
tree520fa4131a549d1956c2a938e8e5a682e1ef5dab
parentc78a87d0a1fc885dfdbe21fd5e07787691dfb068
dlm: free socket in error exit path

In the tcp_connect_to_sock() error exit path, the socket
allocated at the top of the function was not being freed.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c