aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/testing_api_cmd_serialize_keys.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/testing_api_cmd_serialize_keys.c b/src/lib/testing_api_cmd_serialize_keys.c
index 98e7cc9d6..60c63b314 100644
--- a/src/lib/testing_api_cmd_serialize_keys.c
+++ b/src/lib/testing_api_cmd_serialize_keys.c
@@ -198,9 +198,15 @@ connect_with_state_run (void *cls,
0,
&serialized_keys));
- TALER_LOG_DEBUG ("Serialized key-state: %s\n",
- json_dumps (serialized_keys,
- JSON_INDENT (1)));
+ {
+ char *dump;
+
+ dump = json_dumps (serialized_keys,
+ JSON_INDENT (1));
+ TALER_LOG_DEBUG ("Serialized key-state: %s\n",
+ dump);
+ free (dump);
+ }
GNUNET_assert
(GNUNET_OK == TALER_TESTING_get_trait_url