diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-15 16:13:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-15 16:13:29 +0100 |
commit | 6c14000443996dac6389874ce2f7aebda3e37bf6 (patch) | |
tree | 952acf9155a5b4ec3e14f3e2ca39247663b4042e /src | |
parent | db7558bbb41f8c01a08e1e46b01ad14d955f724b (diff) |
fix #8088
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/exchange_api_batch_deposit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/exchange_api_batch_deposit.c b/src/lib/exchange_api_batch_deposit.c index d114bfc33..3dab64526 100644 --- a/src/lib/exchange_api_batch_deposit.c +++ b/src/lib/exchange_api_batch_deposit.c @@ -550,6 +550,7 @@ TALER_EXCHANGE_batch_deposit ( { *ec = TALER_EC_EXCHANGE_GENERIC_DENOMINATION_KEY_UNKNOWN; GNUNET_break_op (0); + json_decref (deposits); return NULL; } if (0 > @@ -561,6 +562,7 @@ TALER_EXCHANGE_batch_deposit ( GNUNET_break_op (0); GNUNET_free (dh->cdds); GNUNET_free (dh); + json_decref (deposits); return NULL; } GNUNET_assert (0 <= @@ -578,6 +580,7 @@ TALER_EXCHANGE_batch_deposit ( GNUNET_break_op (0); GNUNET_free (dh->cdds); GNUNET_free (dh); + json_decref (deposits); return NULL; } if (GNUNET_is_zero (&cdd->h_age_commitment)) @@ -614,6 +617,7 @@ TALER_EXCHANGE_batch_deposit ( GNUNET_free (dh->url); GNUNET_free (dh->cdds); GNUNET_free (dh); + json_decref (deposits); return NULL; } |