From 15e43e550b44f07ffd6e21a3e5193708103340be Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 24 Sep 2012 11:48:33 +0200 Subject: [PATCH] xbps_rpool_release: fix a memleak found by valgrind. (cherry picked from commit 90e24f4b18fdde44958584cdc038ff8a88e919a0) --- lib/repository_pool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/repository_pool.c b/lib/repository_pool.c index 9df63aae..7e39a5fa 100644 --- a/lib/repository_pool.c +++ b/lib/repository_pool.c @@ -141,6 +141,7 @@ xbps_rpool_release(struct xbps_handle *xhp) } prop_object_release(d); } + prop_object_release(xhp->repo_pool); xhp->repo_pool = NULL; xbps_dbg_printf(xhp, "[rpool] released ok.\n"); }