lib/transaction_commit.c: fix a double free (reported by Hanspolo).