summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_wire.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_wire.c
parente9f48d8eb0304f7f13797c8e12a2217b2c54dde3 (diff)
downloadexchange-3c8c127e0e629f4075287ad33e54d5c51b24eddb.tar.gz
exchange-3c8c127e0e629f4075287ad33e54d5c51b24eddb.tar.bz2
exchange-3c8c127e0e629f4075287ad33e54d5c51b24eddb.zip
fixing use of wrong array length (bad), and misc leaks
Diffstat (limited to 'src/mint/taler-mint-httpd_wire.c')
-rw-r--r--src/mint/taler-mint-httpd_wire.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_wire.c b/src/mint/taler-mint-httpd_wire.c
index 9c00b5d43..1eb3f6bef 100644
--- a/src/mint/taler-mint-httpd_wire.c
+++ b/src/mint/taler-mint-httpd_wire.c
@@ -127,6 +127,7 @@ TMH_WIRE_handler_wire_test (struct TMH_RequestHandler *rh,
&wire_test_redirect))
{
/* oopsie, configuration error */
+ MHD_destroy_response (response);
return TMH_RESPONSE_reply_internal_error (connection,
"REDIRECT_URL not configured");
}