commit 3b90f9cae240623799917a839c018039dae506b0
parent a2c99f173fb4d1bb7d72a5f1b1791211e71bb414
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 22 Oct 2022 00:21:08 +0200
-fix fb leak
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git 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;