address resource leak; don't call close() on socket error;

38 jobs for 705-negative-value-passed-to-close-on-socket-c-and-resource-leak in 57 minutes and 14 seconds (queued for 25 minutes and 5 seconds)
Status Job ID Name Coverage
  Precheck
passed #105157
amd64 docker linux
precheck:🐞:sid:amd64

00:00:42

passed #105156
amd64 docker linux
precheck:debian:sid:amd64

00:00:18

 
  Build
passed #105164
amd64 docker linux
build:asan:debian:sid:amd64

00:01:54

passed #105158
amd64 docker linux
build:centos:centos6:amd64

00:02:59

passed #105159
amd64 docker linux
build:centos:centos7:amd64

00:02:52

passed #105160
amd64 docker linux
build:clang:debian:stretch:amd64

00:02:11

passed #105165
i386 docker linux
build:clang:debian:stretch:i386

00:02:14

passed #105161
amd64 docker linux
build:debian:jessie:amd64

00:01:20

passed #105163
amd64 docker linux
build:debian:sid:amd64

00:01:41

passed #105166
i386 docker linux
build:debian:sid:i386

00:01:43

passed #105162
amd64 docker linux
build:debian:stretch:amd64

00:02:11

passed #105168
amd64 docker linux
noassert:build:debian:sid:amd64

00:01:26

passed #105167
amd64 docker linux
pkcs11:build:debian:sid:amd64

00:01:17

 
  Test
passed #105169
amd64 docker linux
docs:debian:sid:amd64

00:00:57

passed #105185
amd64 docker linux
install:debian:sid:amd64

00:01:47

passed #105237
linux docker amd64
noassert:systemtest:debian:sid:amd64

00:09:21

passed #105188
amd64 docker linux
noassert:unittest:debian:sid:amd64

00:00:52

passed #105187
amd64 docker linux
pkcs11:systemtest:debian:sid:amd64

00:09:03

passed #105186
amd64 docker linux
pkcs11:unittest:debian:sid:amd64

00:00:47

passed #105236
linux docker amd64
systemtest:asan:debian:sid:amd64

00:43:59

passed #105178
amd64 docker linux
systemtest:centos:centos6:amd64

00:09:07

passed #105179
amd64 docker linux
systemtest:centos:centos7:amd64

00:09:00

passed #105180
amd64 docker linux
systemtest:debian:jessie:amd64

00:09:29

passed #105182
amd64 docker linux
systemtest:debian:sid:amd64

00:08:57

passed #105285
i386 docker linux
systemtest:debian:sid:i386

00:33:52

passed #105181
amd64 docker linux
systemtest:debian:stretch:amd64

00:09:03

passed #105175
amd64 docker linux
unittest:asan:debian:sid:amd64

00:00:58

passed #105170
amd64 docker linux
unittest:centos:centos6:amd64

00:00:55

passed #105171
amd64 docker linux
unittest:centos:centos7:amd64

00:00:53

passed #105176
amd64 docker linux
unittest:clang:debian:stretch:amd64

00:00:50

passed #105172
amd64 docker linux
unittest:debian:jessie:amd64

00:00:34

passed #105174
amd64 docker linux
unittest:debian:sid:amd64

00:00:50

passed #105177
i386 docker linux
unittest:debian:sid:i386

00:00:52

passed #105173
amd64 docker linux
unittest:debian:stretch:amd64

00:00:53

failed #105189
amd64 docker linux
noassert:systemtest:debian:sid:amd64

00:09:29

failed #105183
amd64 docker linux
systemtest:asan:debian:sid:amd64

00:10:25

failed #105184
i386 docker linux
systemtest:debian:sid:i386

00:09:58

failed #105235
linux docker i386
systemtest:debian:sid:i386

00:10:02