summaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-20 01:23:02 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-20 01:23:02 +0100
commit8ce6d32f63a81e6ea61971859152e4a5ec3b7c40 (patch)
treea9fbee64baa4a2001bd039dcbcbe2704b13af0a2 /src/json/json_helper.c
parent500a7fe2bb7a5a7c722946fb0c87324e0d8172e8 (diff)
downloadexchange-8ce6d32f63a81e6ea61971859152e4a5ec3b7c40.tar.gz
exchange-8ce6d32f63a81e6ea61971859152e4a5ec3b7c40.tar.bz2
exchange-8ce6d32f63a81e6ea61971859152e4a5ec3b7c40.zip
beautification
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r--src/json/json_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 70326b92..746b39e4 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -38,9 +38,9 @@ TALER_JSON_from_amount (const struct TALER_Amount *amount)
char *amount_str = TALER_amount_to_string (amount);
GNUNET_assert (NULL != amount_str);
-
{
json_t *j = json_string (amount_str);
+
GNUNET_free (amount_str);
return j;
}