commit d87e96127664b9b4b1ff7d2446557240496b0379
parent 545fac2408367d4adad1d570b97f373c5192aa26
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 25 Oct 2025 22:27:06 +0200
fix leak (#10505)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/bank-lib/fakebank_bank_testing_register.c b/src/bank-lib/fakebank_bank_testing_register.c
@@ -103,6 +103,7 @@ TALER_FAKEBANK_bank_testing_register_ (
if (0 != strcmp (password,
acc->password))
{
+ json_decref (json);
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_CONFLICT,
TALER_EC_BANK_REGISTER_CONFLICT,