-/* $OpenBSD: ca.c,v 1.76 2021/02/04 19:59:15 tobhe Exp $ */
+/* $OpenBSD: ca.c,v 1.77 2021/02/07 00:56:06 tobhe Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
ibuf_release(env->sc_certreq);
if ((store = env->sc_priv) == NULL)
return;
+ X509_STORE_free(store->ca_cas);
+ X509_STORE_free(store->ca_certs);
ibuf_release(store->ca_pubkey.id_buf);
ibuf_release(store->ca_privkey.id_buf);
free(store);