void afdal_node_free AfDalNodeData data,
gboolean  destroy_data_node
 

Destroy the given AfDalNodeData object.

This function is NULL tolerant, so any NULL reference passed in will be accepted silently.

While destroying the given value you can configure what toe do with the AfDalDataNode inside using the destroy_data_node parameter.

Parameters:
data The object to destroy.
destroy_data_node Signal to also destroy the AfDalDataNode inside.