summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_transfers_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exchange_api_transfers_get.c')
-rw-r--r--src/lib/exchange_api_transfers_get.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/exchange_api_transfers_get.c b/src/lib/exchange_api_transfers_get.c
index d8ec2908..771a4c0e 100644
--- a/src/lib/exchange_api_transfers_get.c
+++ b/src/lib/exchange_api_transfers_get.c
@@ -381,6 +381,11 @@ TALER_EXCHANGE_transfers_get (
}
wdh->url = TEAH_path_to_url (wdh->exchange,
arg_str);
+ if (NULL == wdh->url)
+ {
+ GNUNET_free (wdh);
+ return NULL;
+ }
eh = TALER_EXCHANGE_curl_easy_get_ (wdh->url);
if (NULL == eh)
{