libcacard/vscclient: fix leakage of socket on error paths
commit581fe784c3adf85dc167a47a4a60fd1245a98217
authorAlon Levy <alevy@redhat.com>
Tue, 4 Jun 2013 20:23:37 +0000 (4 16:23 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 12 Jun 2013 12:04:43 +0000 (12 16:04 +0400)
tree07cdd480b6729553903bd1a1acf70cae14ff7e28
parente098b45386a86fecc1e573d305a240a2f4aa461d
libcacard/vscclient: fix leakage of socket on error paths

Spotted by Coverity.

Signed-off-by: Alon Levy <alevy@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
libcacard/vscclient.c