summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_scts.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_scts.c')
-rw-r--r--crypto/x509v3/v3_scts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_scts.c b/crypto/x509v3/v3_scts.c
index ecfc68dcb7..2bbc05655b 100644
--- a/crypto/x509v3/v3_scts.c
+++ b/crypto/x509v3/v3_scts.c
@@ -163,8 +163,7 @@ static void SCT_free(SCT *sct)
{
if (!sct)
return;
- if (sct->sct)
- OPENSSL_free(sct->sct);
+ OPENSSL_free(sct->sct);
OPENSSL_free(sct);
}