add missing rollback
This commit is contained in:
parent
d67011e2b5
commit
ebf049a8c2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user