return TNY_TRANSPORT_ACCOUNT (tny_account);
}
+static void
+foreach_free_string(gpointer data,
+ gpointer user_data)
+{
+ g_free (data);
+}
static void
add_connection_specific_transport_accounts (ModestTnyAccountStore *self)
if (err) {
g_error_free (err);
g_return_if_reached ();
+ return;
}
/* Look at each connection-specific transport account for the
}
iter = g_slist_next (iter);
}
+
+ /* Free the list */
+ g_slist_foreach (list_specifics, foreach_free_string, NULL);
+ g_slist_free (list_specifics);
}
static void
if (err) {
g_error_free (err);
g_return_if_reached ();
+ return;
}
/* Look at each connection-specific transport account for the
}
iter = g_slist_next (iter);
}
+
+ /* Free the list */
+ g_slist_foreach (list_specifics, foreach_free_string, NULL);
+ g_slist_free (list_specifics);
}