diff options
Diffstat (limited to 'src/exchange-lib/exchange_api_deposit.c')
-rw-r--r-- | src/exchange-lib/exchange_api_deposit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange-lib/exchange_api_deposit.c b/src/exchange-lib/exchange_api_deposit.c index 7eb6f5b79..72f588f46 100644 --- a/src/exchange-lib/exchange_api_deposit.c +++ b/src/exchange-lib/exchange_api_deposit.c @@ -463,6 +463,11 @@ TALER_EXCHANGE_deposit (struct TALER_EXCHANGE_Handle *exchange, "wire_transfer_deadline", GNUNET_JSON_from_time_abs (wire_deadline), "coin_sig", GNUNET_JSON_from_data_auto (coin_sig) ); + if (NULL == deposit_obj) + { + GNUNET_break (0); + return NULL; + } dh = GNUNET_new (struct TALER_EXCHANGE_DepositHandle); dh->exchange = exchange; |