aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/testing_api_cmd_serialize_keys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_cmd_serialize_keys.c b/src/exchange-lib/testing_api_cmd_serialize_keys.c
index c63147a7e..852c42116 100644
--- a/src/exchange-lib/testing_api_cmd_serialize_keys.c
+++ b/src/exchange-lib/testing_api_cmd_serialize_keys.c
@@ -66,7 +66,8 @@ serialize_keys_run (void *cls,
if (NULL == sks->keys)
TALER_TESTING_interpreter_fail (is);
- sks->exchange_url = TALER_EXCHANGE_get_base_url (is->exchange);
+ sks->exchange_url = GNUNET_strdup
+ (TALER_EXCHANGE_get_base_url (is->exchange));
TALER_EXCHANGE_disconnect (is->exchange);
is->exchange = NULL;
TALER_TESTING_interpreter_next (is);