aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-22 10:00:01 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-22 10:00:01 +0200
commit3c8c127e0e629f4075287ad33e54d5c51b24eddb (patch)
tree8ac15142ae047dabfb80c0202759f85c4136776e /src/mint/taler-mint-httpd_responses.c
parente9f48d8eb0304f7f13797c8e12a2217b2c54dde3 (diff)
fixing use of wrong array length (bad), and misc leaks
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r--src/mint/taler-mint-httpd_responses.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c
index 50a0553e6..a018f68d3 100644
--- a/src/mint/taler-mint-httpd_responses.c
+++ b/src/mint/taler-mint-httpd_responses.c
@@ -947,7 +947,7 @@ TMH_RESPONSE_reply_refresh_reveal_missmatch (struct MHD_Connection *connection,
json_array_append_new (info_commit,
info_commit_k);
info_link_k = json_array ();
- for (i=0;i<mc->num_newcoins;i++)
+ for (i=0;i<mc->num_oldcoins;i++)
{
const struct TALER_RefreshCommitLinkP *cl;
json_t *cl_json;