aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_scn.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1/tasn_scn.c')
-rw-r--r--crypto/asn1/tasn_scn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/asn1/tasn_scn.c b/crypto/asn1/tasn_scn.c
index 830540550e..cedea9cb78 100644
--- a/crypto/asn1/tasn_scn.c
+++ b/crypto/asn1/tasn_scn.c
@@ -86,8 +86,7 @@ ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx))
void ASN1_SCTX_free(ASN1_SCTX *p)
{
- if (p)
- OPENSSL_free(p);
+ OPENSSL_free(p);
}
const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p)