From 21ea38f367237fe9ecaa32872f672aa716dca75b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 27 Nov 2016 13:04:30 +0000 Subject: Fix double close in sbearssl_cert_readfile --- src/sbearssl/sbearssl_cert_readfile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sbearssl/sbearssl_cert_readfile.c b/src/sbearssl/sbearssl_cert_readfile.c index 6cc78c1..4ad693d 100644 --- a/src/sbearssl/sbearssl_cert_readfile.c +++ b/src/sbearssl/sbearssl_cert_readfile.c @@ -42,7 +42,6 @@ int sbearssl_cert_readfile (char const *fn, genalloc *certs, stralloc *sa) } genalloc_free(sbearssl_pemobject, &pems) ; - fd_close(fd) ; return 0 ; fail: -- cgit v1.2.3