xbps_pkgdb_release: don't bother releasing everything.

This commit is contained in:
Juan RP 2015-01-14 17:34:00 +01:00
parent 8f1e7d9e55
commit a651f33832

View File

@ -254,13 +254,6 @@ xbps_pkgdb_release(struct xbps_handle *xhp)
if (xhp->pkgdb == NULL)
return;
if (xhp->pkgdb_revdeps)
xbps_object_release(xhp->pkgdb_revdeps);
if (xhp->vpkgd)
xbps_object_release(xhp->vpkgd);
if (xhp->preserved_files)
xbps_object_release(xhp->preserved_files);
xbps_pkgdb_unlock(xhp);
xbps_object_release(xhp->pkgdb);
xbps_dbg_printf(xhp, "[pkgdb] released ok.\n");