提交 a78a0374 编写于 作者: D Dr. Stephen Henson

Only call free once in CHOICE type.

上级 a329fdde
...@@ -115,8 +115,6 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c ...@@ -115,8 +115,6 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c
return; return;
} }
i = asn1_get_choice_selector(pval, it); 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)) if ((i >= 0) && (i < it->tcount))
{ {
ASN1_VALUE **pchval; ASN1_VALUE **pchval;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册