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

@@ -361,7 +361,7 @@ xbps_repo_open(struct xbps_handle *xhp, const char *url)
}
xbps_object_iterator_release(iter);
xbps_object_release(repo->idx);
xbps_repo_close(stage);
xbps_repo_release(stage);
repo->idx = idx;
return repo;
}