bridge: Skip statistics update if cannot get ovsdb config.
[cascardo/ovs.git] / lib / stream-ssl.c
index d774619..d1d9c3f 100644 (file)
@@ -1195,6 +1195,7 @@ read_cert_file(const char *file_name, X509 ***certs, size_t *n_certs)
             free(*certs);
             *certs = NULL;
             *n_certs = 0;
+            fclose(file);
             return EIO;
         }