diff options
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/tasn_fre.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/asn1/tasn_fre.c b/crypto/asn1/tasn_fre.c index e219e2c0a3..bd955d9848 100644 --- a/crypto/asn1/tasn_fre.c +++ b/crypto/asn1/tasn_fre.c @@ -249,6 +249,5 @@ void asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) ASN1_STRING_free((ASN1_STRING *)*pval); break; } - if (*pval) - *pval = NULL; + *pval = NULL; } |