Commit a78a0374 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Only call free once in CHOICE type.

parent a329fdde
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;