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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user