xbps_end: don't bother releasing everything; pkgdb is enough.

xbps-query -L now: 115ms
xbps-query -L before: 148ms

Fuck you valgrind!
This commit is contained in:
Juan RP 2015-01-14 18:43:17 +01:00
parent a651f33832
commit 8263449f94

View File

@ -502,8 +502,6 @@ xbps_end(struct xbps_handle *xhp)
assert(xhp);
xbps_pkgdb_release(xhp);
xbps_rpool_release(xhp);
xbps_fetch_unset_cache_connection();
}
static void