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

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

	xbps_pkgdb_release(xhp);
	xbps_fetch_unset_cache_connection();
}
Exemplo n.º 3
0
Arquivo: initend.c Projeto: 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;
}