/* Free a list returned by wtap_get_file_extension_type_extensions(), wtap_get_all_file_extensions_list, or wtap_get_file_extensions_list().  */
void wtap_free_extensions_list(GSList *extensions)
/* Free a list returned by wtap_get_file_extension_type_extensions(), wtap_get_all_file_extensions_list, or wtap_get_file_extensions_list().  */
void wtap_free_extensions_list(GSList *extensions)
{
	GSList *extension;
	for (extension = extensions; extension != NULL;
	    extension = g_slist_next(extension)) {
		g_free(extension->data);
	}
	g_slist_free(extensions);
}