From a78a03744d987c7c592695ed90b543a30850bf3f Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 14 Mar 2008 00:57:01 +0000 Subject: [PATCH] Only call free once in CHOICE type. --- crypto/asn1/tasn_fre.c | 2 -- 1 file changed, 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; -- 2.34.1