]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit157e29de3190ac589f3fd1fcd0dc42a9fdb374c2
tree520fa4131a549d1956c2a938e8e5a682e1ef5dab
parent442ed3ced6b71005bd15a0e679aae47895a2408f
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