From 220c5d3d3d38ff09893d8000ba1ddcc75fbc4b43 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 11 Jan 2025 11:12:30 +0000 Subject: [PATCH] build: Free transaction after performing the install check Signed-off-by: Michael Tremer --- src/pakfire/build.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pakfire/build.c b/src/pakfire/build.c index 7ffc15d8a..b0a6857a9 100644 --- a/src/pakfire/build.c +++ b/src/pakfire/build.c @@ -2290,6 +2290,8 @@ static int pakfire_build_install_test(struct pakfire_build* build) { } ERROR: + if (transaction) + pakfire_transaction_unref(transaction); if (problems) free(problems); -- 2.47.3