From d5e91cb7d8f597b81c7f388528d1bc3eafd4965c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 6 Jan 2020 12:47:13 +0100 Subject: [PATCH] xbps_transaction_store: fix memleak. --- lib/transaction_store.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/transaction_store.c b/lib/transaction_store.c index c38cb2fc..9928974b 100644 --- a/lib/transaction_store.c +++ b/lib/transaction_store.c @@ -76,5 +76,7 @@ xbps_transaction_store(struct xbps_handle *xhp, xbps_array_t pkgs, xbps_dbg_printf(xhp, "Added `%s' into the dependency list (%s)\n", pkgver, repo); + xbps_object_release(pkgd); + return 0; }