paivana

HTTP paywall reverse proxy
Log | Files | Refs | Submodules | README | LICENSE

commit cda631ed5b02d1d943fd2b798aa20495baf28765
parent 26a4029e13d47be1182bf2af4259dd02d5689778
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  3 Aug 2026 21:43:23 +0200

-fix leak

Diffstat:
Msrc/backend/paivana-httpd_daemon.c | 1+
Msrc/backend/paivana-httpd_templates.c | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/backend/paivana-httpd_daemon.c b/src/backend/paivana-httpd_daemon.c @@ -186,6 +186,7 @@ create_response (void *cls, &buf)) { GNUNET_break (0); + GNUNET_buffer_clear (&buf); return TALER_MHD_reply_with_error ( con, MHD_HTTP_BAD_REQUEST, diff --git a/src/backend/paivana-httpd_templates.c b/src/backend/paivana-httpd_templates.c @@ -648,6 +648,7 @@ PAIVANA_HTTPD_search_templates (struct MHD_Connection *connection, &buf)) { GNUNET_break (0); + GNUNET_buffer_clear (&buf); ret = TALER_MHD_reply_with_error ( connection, MHD_HTTP_BAD_REQUEST,