diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-19 13:11:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-19 13:11:57 +0100 |
commit | fe79f6af9cef801011296a25809b695c26a35017 (patch) | |
tree | 260abcc7004511f93adfef65f0df85a1a20683df /src | |
parent | 0fe0c414e2e0954eee37cd9b13ea2dce2ed0e1f6 (diff) |
-fix memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index 251c001b8..69456cb37 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -2401,6 +2401,7 @@ finish_keys_response (struct TEH_KeyStateHandle *ksh) "Failed to generate key response data for %s\n", GNUNET_TIME_timestamp2s (last_cpd)); json_decref (denoms); + json_decref (grouped_denominations); json_decref (sctx.signkeys); json_decref (recoup); return GNUNET_SYSERR; @@ -2413,6 +2414,7 @@ finish_keys_response (struct TEH_KeyStateHandle *ksh) "No denomination keys available. Refusing to generate /keys response.\n"); GNUNET_CRYPTO_hash_context_abort (hash_context); } + json_decref (grouped_denominations); json_decref (sctx.signkeys); json_decref (recoup); json_decref (denoms); |