summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_refresh.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-11 21:29:15 +0200
committerChristian Grothoff <christian@grothoff.org>2015-04-11 21:29:15 +0200
commit4f078c7666bfc1c2379b242c38674932dbf832ee (patch)
tree2ad069f96d69e63ed299d042511a29bd49e97a44 /src/mint/taler-mint-httpd_refresh.c
parent8b321252230a2e87ec8f50cec0c344122952c387 (diff)
downloadexchange-4f078c7666bfc1c2379b242c38674932dbf832ee.tar.gz
exchange-4f078c7666bfc1c2379b242c38674932dbf832ee.tar.bz2
exchange-4f078c7666bfc1c2379b242c38674932dbf832ee.zip
scaffolding work towards #3712
Diffstat (limited to 'src/mint/taler-mint-httpd_refresh.c')
-rw-r--r--src/mint/taler-mint-httpd_refresh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c
index 805d4f9c5..38af09d85 100644
--- a/src/mint/taler-mint-httpd_refresh.c
+++ b/src/mint/taler-mint-httpd_refresh.c
@@ -61,7 +61,6 @@ handle_refresh_melt_binary (struct MHD_Connection *connection,
const struct GNUNET_HashCode *session_hash,
struct TALER_MINTDB_RefreshCommitCoin *const* commit_coin,
struct TALER_MINTDB_RefreshCommitLinkP *const* commit_link)
-
{
unsigned int i;
struct TMH_KS_StateHandle *key_state;
@@ -509,6 +508,7 @@ handle_refresh_melt_json (struct MHD_Connection *connection,
free_commit_coins (commit_coin,
TALER_CNC_KAPPA,
num_newcoins);
+ GNUNET_free (link_enc);
return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES;
}
rcc->refresh_link
@@ -517,6 +517,7 @@ handle_refresh_melt_json (struct MHD_Connection *connection,
GNUNET_CRYPTO_hash_context_read (hash_context,
link_enc,
link_enc_size);
+ GNUNET_free (link_enc);
}
}