Try to not leak memory.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18790 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-21 20:47:13 +00:00
parent ae6596c3be
commit 4045ae9f70

View File

@@ -291,6 +291,7 @@ load_ocsp(hx509_context context, struct revoke_ocsp *ocsp)
continue;
ret = hx509_certs_add(context, certs, c);
hx509_cert_free(c);
if (ret)
continue;
}