rendered paste body/******************************************************************/
/* Function : _asn1_remove_node */
/* Description: gets free the memory allocated for an NODE_ASN */
/* element (not the elements pointed by it). */
/* Parameters: */
/* node: NODE_ASN element pointer. */
/******************************************************************/
void
_asn1_remove_node (node_asn * node)
{
if (node == NULL)
return;
if (node->name != NULL)
_asn1_free (node->name);
if (node->value != NULL)
_asn1_free (node->value);
_asn1_free (node);
}