summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-04-22 10:54:58 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-04-24 01:54:15 +0200
commit1b9cea0caa85dce6d9f117638a296b141c49a8fd (patch)
tree5efe84115ea6a713885b7823a18cc4297c1a66f3
parent4e7bd268ae1f39675988b9ac61b9378a67e3ae3e (diff)
transaction: abort does not need to use recursive deletion
Recursion is unnecessary, because we're deleting all transaction jobs anyway. And the recursive deletion produces debug messages that are pointless in transaction abort.
-rw-r--r--src/core/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transaction.c b/src/core/transaction.c
index 394c181352..8b4116806b 100644
--- a/src/core/transaction.c
+++ b/src/core/transaction.c
@@ -51,7 +51,7 @@ void transaction_abort(Transaction *tr) {
assert(tr);
while ((j = hashmap_first(tr->jobs)))
- transaction_delete_job(tr, j, true);
+ transaction_delete_job(tr, j, false);
assert(hashmap_isempty(tr->jobs));
}