diff options
-rw-r--r-- | src/lib/merchant_api_get_config.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/merchant_api_get_config.c b/src/lib/merchant_api_get_config.c index 1aee6ed6..ddbc20a3 100644 --- a/src/lib/merchant_api_get_config.c +++ b/src/lib/merchant_api_get_config.c @@ -243,6 +243,8 @@ handle_config_finished (void *cls, cr.hr.http_status = 0; cr.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; GNUNET_free (eci); + TALER_CONFIG_free_currencies (off - 1, + cspecs); break; } } @@ -263,10 +265,10 @@ handle_config_finished (void *cls, "Unexpected response code %u/%d\n", (unsigned int) response_code, (int) cr.hr.ec); - vgh->cb (vgh->cb_cls, - &cr); break; } + vgh->cb (vgh->cb_cls, + &cr); TALER_MERCHANT_config_get_cancel (vgh); } |