summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_refreshes_reveal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-28 23:32:02 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-28 23:32:02 +0100
commiteb32dd626a61ab98db4f505aad9a2b9b7cfd6494 (patch)
tree74f0d2a00bbc4710a192415a6f81db787f200504 /src/lib/exchange_api_refreshes_reveal.c
parent677654f609048a1b45d9fc05eb97141c320e9540 (diff)
downloadexchange-eb32dd626a61ab98db4f505aad9a2b9b7cfd6494.tar.gz
exchange-eb32dd626a61ab98db4f505aad9a2b9b7cfd6494.tar.bz2
exchange-eb32dd626a61ab98db4f505aad9a2b9b7cfd6494.zip
fix leaks and bad RC logic wrt json reference copying
Diffstat (limited to 'src/lib/exchange_api_refreshes_reveal.c')
-rw-r--r--src/lib/exchange_api_refreshes_reveal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/exchange_api_refreshes_reveal.c b/src/lib/exchange_api_refreshes_reveal.c
index f15a35ff4..5d186cd32 100644
--- a/src/lib/exchange_api_refreshes_reveal.c
+++ b/src/lib/exchange_api_refreshes_reveal.c
@@ -239,6 +239,7 @@ handle_refresh_reveal_finished (void *cls,
for (unsigned int i = 0; i<rrh->md->num_fresh_coins; i++)
if (NULL != sigs[i].rsa_signature)
GNUNET_CRYPTO_rsa_signature_free (sigs[i].rsa_signature);
+ TALER_EXCHANGE_refreshes_reveal_cancel (rrh);
return;
}
case MHD_HTTP_BAD_REQUEST: