aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-04 12:07:53 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-04 12:07:53 +0200
commit59fd83b73128d8393726caf58016b81b86cc3404 (patch)
tree23d7c6ccae9774ce5fbfb753b00849a4a84c8409 /src/bank-lib
parentad850ce0a9d0df1df6499cb9bb35671c460f61c1 (diff)
fix memory leaks (#5050)
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/fakebank.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 924e0656a..ceda4d37b 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -361,6 +361,7 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h,
(json_int_t) t->serial_id);
json_str = json_dumps (json,
JSON_INDENT(2));
+ json_decref (json);
if (NULL == json_str)
{
GNUNET_break (0);