Ejemplo n.º 1
0
void
backend_destroy_databases (PkBackend *backend)
{
	g_return_if_fail (backend != NULL);

	if (disabled_repos != NULL) {
		disabled_repos_free (disabled_repos);
	}
}
Ejemplo n.º 2
0
void
pk_backend_destroy_databases (PkBackend *self)
{
	g_return_if_fail (self != NULL);

	if (disabled != NULL) {
		disabled_repos_free (disabled);
	}
}
Ejemplo n.º 3
0
void
pk_backend_destroy_databases (PkBackend *self)
{
	alpm_list_t *i;

	g_return_if_fail (self != NULL);

	if (disabled != NULL) {
		disabled_repos_free (disabled);
	}

	for (i = configured; i != NULL; i = i->next) {
		PkBackendRepo *repo = (PkBackendRepo *) i->data;
		g_free (repo->name);
		FREELIST (repo->servers);
		g_free (repo);
	}
	alpm_list_free (configured);
}