aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-15 15:00:24 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-15 15:00:24 +0200
commitebf049a8c2d982e723fe67dbff64e1eea14d8247 (patch)
tree7f038da04addaa6f6d2c60f1c1002497bede7631
parentd67011e2b55dbd0e2158c4c144f5092e1593d70a (diff)
add missing rollback
-rw-r--r--src/mint/taler-mint-httpd_db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index 8c22a0a2a..cff24bdc8 100644
--- a/src/mint/taler-mint-httpd_db.c
+++ b/src/mint/taler-mint-httpd_db.c
@@ -210,6 +210,8 @@ TMH_DB_execute_deposit (struct MHD_Connection *connection,
&spent,
&spent))
{
+ TMH_plugin->rollback (TMH_plugin->cls,
+ session);
TMH_plugin->free_coin_transaction_list (TMH_plugin->cls,
tl);
return TMH_RESPONSE_reply_internal_db_error (connection);