aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-09-15 13:06:50 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-15 13:06:50 +0200
commit21ff9b1fe0da803ae1b498e7c37f015c71ce351b (patch)
treeda4e4e0e777f347d68a9603537d3046338e6aadd /src/lib
parent38c80677d7ecebd50e6e8c01471a7b2615f6a4c9 (diff)
logging leak
Diffstat (limited to 'src/lib')
-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