summaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-22 00:21:08 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-22 00:21:08 +0200
commit3b90f9cae240623799917a839c018039dae506b0 (patch)
treeaef1972639c380c7c4e8c9c7df4963305d047f33 /src/bank-lib/fakebank.c
parenta2c99f173fb4d1bb7d72a5f1b1791211e71bb414 (diff)
downloadexchange-3b90f9cae240623799917a839c018039dae506b0.tar.gz
exchange-3b90f9cae240623799917a839c018039dae506b0.tar.bz2
exchange-3b90f9cae240623799917a839c018039dae506b0.zip
-fix fb leak
Diffstat (limited to 'src/bank-lib/fakebank.c')
-rw-r--r--src/bank-lib/fakebank.c10
1 files 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;