From 3b90f9cae240623799917a839c018039dae506b0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 22 Oct 2022 00:21:08 +0200 Subject: [PATCH] -fix fb leak --- src/bank-lib/fakebank.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index ebdb54356..fa1475b7a 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -3430,11 +3430,11 @@ post_testing_register (struct TALER_FAKEBANK_Handle *h, acc->password = GNUNET_strdup (password); acc->balance = h->signup_bonus; /* magic money creation! */ } - return TALER_MHD_reply_static (connection, - MHD_HTTP_NO_CONTENT, - NULL, - NULL, - 0); + res = TALER_MHD_reply_static (connection, + MHD_HTTP_NO_CONTENT, + NULL, + NULL, + 0); } json_decref (json); return res;