diff options
Diffstat (limited to 'src/lib/auditor_api_deposit_confirmation.c')
-rw-r--r-- | src/lib/auditor_api_deposit_confirmation.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c index b2126230a..eb84aeadc 100644 --- a/src/lib/auditor_api_deposit_confirmation.c +++ b/src/lib/auditor_api_deposit_confirmation.c @@ -360,6 +360,11 @@ TALER_AUDITOR_deposit_confirmation ( dh->cb_cls = cb_cls; dh->url = TALER_AUDITOR_path_to_url_ (auditor, "/deposit-confirmation"); + if (NULL == dh->url) + { + GNUNET_free (dh); + return NULL; + } eh = TALER_AUDITOR_curl_easy_get_ (dh->url); if ( (NULL == eh) || |