Use xbps_repo_release() where applicable.

This commit is contained in:
Juan RP
2020-04-19 11:09:05 +02:00
parent cb580a5c1a
commit debfcf1273
5 changed files with 8 additions and 8 deletions

View File

@@ -172,9 +172,9 @@ index_clean(struct xbps_handle *xhp, const char *repodir, const bool hashcheck,
}
out:
xbps_repo_close(repo);
xbps_repo_release(repo);
if(stage)
xbps_repo_close(stage);
xbps_repo_release(stage);
xbps_repo_unlock(rlockfd, rlockfname);
return rv;