summaryrefslogtreecommitdiff
path: root/lib/libcrypto/asn1
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-04-23 19:01:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-04-23 19:01:51 +0000
commit5a950e4cb6f8225ea989e4e1e12cdf6f3b064ee7 (patch)
tree4bbfa34f3733f01ad48ef3b4884269869616a5eb /lib/libcrypto/asn1
parent3875d0a10d7b5fd8518c76bd2db80bdf8d3982dd (diff)
Remove duplicate pointer assignment in ASN1_primitive_free(); Dirk Engling
Diffstat (limited to 'lib/libcrypto/asn1')
-rw-r--r--lib/libcrypto/asn1/tasn_fre.c1
1 files changed, 0 insertions, 1 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;