summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_reserves_history.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-07 16:57:12 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-07 16:57:12 +0200
commit446761b6029298410000181697abef5dbdbd4b57 (patch)
tree0b750b4c34ce8f66e24f6b319fb3dcf5cb5ea221 /src/lib/exchange_api_reserves_history.c
parentf0bcbf65862c8e44e245bda21ea078803dcd5ad0 (diff)
downloadexchange-446761b6029298410000181697abef5dbdbd4b57.tar.gz
exchange-446761b6029298410000181697abef5dbdbd4b57.tar.bz2
exchange-446761b6029298410000181697abef5dbdbd4b57.zip
-more minor bugfixes
Diffstat (limited to 'src/lib/exchange_api_reserves_history.c')
-rw-r--r--src/lib/exchange_api_reserves_history.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/exchange_api_reserves_history.c b/src/lib/exchange_api_reserves_history.c
index 1d3891c2e..2a0dd5651 100644
--- a/src/lib/exchange_api_reserves_history.c
+++ b/src/lib/exchange_api_reserves_history.c
@@ -311,6 +311,7 @@ TALER_EXCHANGE_reserves_history (
if (NULL == keys)
{
GNUNET_break (0);
+ curl_easy_cleanup (eh);
GNUNET_free (rsh->url);
GNUNET_free (rsh);
return NULL;
@@ -320,6 +321,7 @@ TALER_EXCHANGE_reserves_history (
if (NULL == gf)
{
GNUNET_break_op (0);
+ curl_easy_cleanup (eh);
GNUNET_free (rsh->url);
GNUNET_free (rsh);
return NULL;