tm: free struct contacts in case of error retrieving r-uri in t_load_contacts()