summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-03-14 00:57:01 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-03-14 00:57:01 +0000
commita78a03744d987c7c592695ed90b543a30850bf3f (patch)
tree281724cfea22315dc6d492e4c433437b3065aa92 /crypto/asn1
parenta329fdde511f012667766e0f82dd7ec1901ac467 (diff)
Only call free once in CHOICE type.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/tasn_fre.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/asn1/tasn_fre.c b/crypto/asn1/tasn_fre.c
index 43c00dee81..23394b9861 100644
--- a/crypto/asn1/tasn_fre.c
+++ b/crypto/asn1/tasn_fre.c
@@ -115,8 +115,6 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c
return;
}
i = asn1_get_choice_selector(pval, it);
- if (asn1_cb)
- asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL);
if ((i >= 0) && (i < it->tcount))
{
ASN1_VALUE **pchval;