diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-20 01:23:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-20 01:23:02 +0100 |
commit | 8ce6d32f63a81e6ea61971859152e4a5ec3b7c40 (patch) | |
tree | a9fbee64baa4a2001bd039dcbcbe2704b13af0a2 /src/json/json_helper.c | |
parent | 500a7fe2bb7a5a7c722946fb0c87324e0d8172e8 (diff) | |
download | exchange-8ce6d32f63a81e6ea61971859152e4a5ec3b7c40.tar.xz |
beautification
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r-- | src/json/json_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 70326b924..746b39e49 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; } |