From ab6f83368682151d59984d93af79e9ef321b61a0 Mon Sep 17 00:00:00 2001 From: miod Date: Wed, 23 Apr 2014 19:01:50 +0000 Subject: [PATCH] Remove duplicate pointer assignment in ASN1_primitive_free(); Dirk Engling --- lib/libcrypto/asn1/tasn_fre.c | 1 - lib/libssl/src/crypto/asn1/tasn_fre.c | 1 - 2 files changed, 2 deletions(-) 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; -- 2.20.1