cm_return_if_fail( pilotFile != NULL );
/* Release custom labels */
- mgu_free_dlist( pilotFile->customLabels );
+ g_list_free_full( pilotFile->customLabels, g_free );
pilotFile->customLabels = NULL;
/* Release indexes */
addrcache_person_add_email( pilotFile->addressCache, person, email );
node = g_list_next( node );
}
- mgu_free_dlist( list );
+ g_list_free_full( list, g_free );
list = NULL;
}
}