add missing rollback

This commit is contained in:
Christian Grothoff 2016-04-15 15:00:24 +02:00
parent d67011e2b5
commit ebf049a8c2

View File

@ -210,6 +210,8 @@ TMH_DB_execute_deposit (struct MHD_Connection *connection,
&spent, &spent,
&spent)) &spent))
{ {
TMH_plugin->rollback (TMH_plugin->cls,
session);
TMH_plugin->free_coin_transaction_list (TMH_plugin->cls, TMH_plugin->free_coin_transaction_list (TMH_plugin->cls,
tl); tl);
return TMH_RESPONSE_reply_internal_db_error (connection); return TMH_RESPONSE_reply_internal_db_error (connection);