diff options
Diffstat (limited to 'crypto/ct')
-rw-r--r-- | crypto/ct/ct_policy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ct/ct_policy.c b/crypto/ct/ct_policy.c index 76e08b8f8f..e067fd8ea5 100644 --- a/crypto/ct/ct_policy.c +++ b/crypto/ct/ct_policy.c @@ -40,6 +40,7 @@ CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new_with_libctx(OPENSSL_CTX *libctx, ctx->propq = OPENSSL_strdup(propq); if (ctx->propq == NULL) { CTerr(0, ERR_R_MALLOC_FAILURE); + OPENSSL_free(ctx); return NULL; } } |