Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18792 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -100,6 +100,7 @@ hx509_revoke_free(hx509_revoke_ctx *ctx)
|
||||
|
||||
for (i = 0; i < (*ctx)->ocsps.len; i++)
|
||||
free_ocsp(&(*ctx)->ocsps.val[i]);
|
||||
free((*ctx)->ocsps.val);
|
||||
|
||||
free((*ctx)->crls.val);
|
||||
|
||||
|
Reference in New Issue
Block a user