void afdal_data_free AfDalData data,
gboolean  destroy_list

Destroy the given AfDalData object.

Frees AfDalData data. If destroy_list is FALSE, it won't destroy the AfDalList contained in data.

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

data the AfDalList object to destroy.
destroy_list TRUE if the AfDalList inside should be also destroyed or FALSE if not.