void afdal_string_free AfDalStringData data,
gboolean  destroy_string
 

Destroy the given AfDalStringData 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 to do with the string inside using the given destroy_string parameter.

Parameters:
data The AfDalStringData to destroy.
destroy_string Signal to also destroy the string inside.