/* Function used to free the airpcap interface list  */
void free_airpcap_interface_list(GList *if_list)
/* Function used to free the airpcap interface list  */
void free_airpcap_interface_list(GList *if_list)
{
    g_list_foreach(if_list, free_airpcap_if_cb, NULL);
    g_list_free(if_list);
}