diff options
author | MS <ms@taler.net> | 2020-07-27 14:03:11 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-27 14:03:11 +0200 |
commit | 6fd44ff2ea8f86655ac6450efd88da85b48211cf (patch) | |
tree | 1548aabaeec6dfc2efa6c00b9bb082a322820051 /src | |
parent | 680b671b298201809e89592f761e92c393757058 (diff) |
fix segfault
Diffstat (limited to 'src')
-rw-r--r-- | src/bank-lib/taler-bank-transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bank-lib/taler-bank-transfer.c b/src/bank-lib/taler-bank-transfer.c index f3b393372..9065122d5 100644 --- a/src/bank-lib/taler-bank-transfer.c +++ b/src/bank-lib/taler-bank-transfer.c @@ -132,7 +132,7 @@ do_shutdown (void *cls) TALER_BANK_debit_history_cancel (dhh); dhh = NULL; } - if (NULL != eh) + if ( (NULL != eh) && (0 != global_ret)) { TALER_BANK_transfer_cancel (eh); eh = NULL; |