From 2d6e865d0055f241faa231943c561db136ca0e26 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Wed, 4 May 2016 09:46:04 +0200 Subject: [PATCH] lib/repo: plug stage repo mem leak --- lib/repo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/repo.c b/lib/repo.c index d2f3fc88..dc718ffe 100644 --- a/lib/repo.c +++ b/lib/repo.c @@ -330,6 +330,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); repo->idx = idx; return repo; }