-fix fb leak

This commit is contained in:
Christian Grothoff 2022-10-22 00:21:08 +02:00
parent a2c99f173f
commit 3b90f9cae2
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -3430,11 +3430,11 @@ post_testing_register (struct TALER_FAKEBANK_Handle *h,
acc->password = GNUNET_strdup (password); acc->password = GNUNET_strdup (password);
acc->balance = h->signup_bonus; /* magic money creation! */ acc->balance = h->signup_bonus; /* magic money creation! */
} }
return TALER_MHD_reply_static (connection, res = TALER_MHD_reply_static (connection,
MHD_HTTP_NO_CONTENT, MHD_HTTP_NO_CONTENT,
NULL, NULL,
NULL, NULL,
0); 0);
} }
json_decref (json); json_decref (json);
return res; return res;