Esempio n. 1
0
void
xbps_end(struct xbps_handle *xhp)
{
	assert(xhp);

	xbps_pkgdb_release(xhp);
}
Esempio n. 2
0
void
xbps_end(struct xbps_handle *xhp)
{
	assert(xhp);

	xbps_pkgdb_release(xhp);
	xbps_fetch_unset_cache_connection();
}
Esempio n. 3
0
File: initend.c Progetto: xdave/xbps
void
xbps_end(struct xbps_handle *xhp)
{
    assert(xhp);

    if (!xhp->initialized)
        return;

    xbps_pkgdb_release(xhp);
    xbps_rpool_release(xhp);
    xbps_fetch_unset_cache_connection();

    cfg_free(xhp->cfg);
    free(xhp->cachedir_priv);
    free(xhp->metadir_priv);
    free(xhp->un_machine);

    xhp->initialized = false;
    xhp = NULL;
}