lib/repo: plug stage repo mem leak
This commit is contained in:
parent
5117ff84a2
commit
2d6e865d00
@ -330,6 +330,7 @@ xbps_repo_open(struct xbps_handle *xhp, const char *url)
|
|||||||
}
|
}
|
||||||
xbps_object_iterator_release(iter);
|
xbps_object_iterator_release(iter);
|
||||||
xbps_object_release(repo->idx);
|
xbps_object_release(repo->idx);
|
||||||
|
xbps_repo_close(stage);
|
||||||
repo->idx = idx;
|
repo->idx = idx;
|
||||||
return repo;
|
return repo;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user