]> git.ipfire.org Git - people/ric9/pakfire.git/commitdiff
build: Free transaction after performing the install check
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Jan 2025 11:12:30 +0000 (11:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Jan 2025 11:12:30 +0000 (11:12 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/build.c

index 7ffc15d8acb4ede91f9385ef0d4d2fd3be95cebd..b0a6857a91326f20f5fea233089a99d3ed4cf735 100644 (file)
@@ -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);