void afgs_afkeys_destroy AfgsAfKey af_key,
gboolean  free_permission_list
 

Destroy the given AfgsAfKey object.

Frees all memory allocated by af_key.

Parameters:
af_key The object to destroy.
free_permission_list TRUE to also free permission list.