ref: d15bc694dff1248ac67740c75c299c80e0779e8a
parent: 3a91d0da6accefe72f46e3c7d149ef3d5cfd759e
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Aug 24 07:48:47 EDT 2020
free certificate
--- a/req.c
+++ b/req.c
@@ -39,6 +39,7 @@
if(th != nil){
ok = okCertificate(conn.cert, conn.certlen, th);
freeThumbprints(th);
+ free(conn.cert);
if(!ok){
//fprint(2, "echo 'x509 %r server=%s' >>/sys/lib/ssl/gemini\n", r->url->server);
//werrstr("untrusted cert");