From: miod Date: Wed, 23 Apr 2014 19:01:50 +0000 (+0000) Subject: Remove duplicate pointer assignment in ASN1_primitive_free(); Dirk Engling X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ab6f83368682151d59984d93af79e9ef321b61a0;p=openbsd Remove duplicate pointer assignment in ASN1_primitive_free(); Dirk Engling --- diff --git a/lib/libcrypto/asn1/tasn_fre.c b/lib/libcrypto/asn1/tasn_fre.c index 9e6e7579f15..c5e67745826 100644 --- a/lib/libcrypto/asn1/tasn_fre.c +++ b/lib/libcrypto/asn1/tasn_fre.c @@ -247,7 +247,6 @@ ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) default: ASN1_STRING_free((ASN1_STRING *)*pval); - *pval = NULL; break; } *pval = NULL; diff --git a/lib/libssl/src/crypto/asn1/tasn_fre.c b/lib/libssl/src/crypto/asn1/tasn_fre.c index 9e6e7579f15..c5e67745826 100644 --- a/lib/libssl/src/crypto/asn1/tasn_fre.c +++ b/lib/libssl/src/crypto/asn1/tasn_fre.c @@ -247,7 +247,6 @@ ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) default: ASN1_STRING_free((ASN1_STRING *)*pval); - *pval = NULL; break; } *pval = NULL;