aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-01 19:37:29 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-01 22:34:35 +0200
commit647ae694cc9f1aef44e792b96676b115231e8898 (patch)
tree2faa798d43d7ce36e013dae73a74bed0bc8cb3de /src/lib
parentfaca037018820ba3c21724c7f6ab41a72206e4ff (diff)
downloadexchange-647ae694cc9f1aef44e792b96676b115231e8898.tar.xz
-fix uninitialized variable and memory leak
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_wire.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/exchange_api_wire.c b/src/lib/exchange_api_wire.c
index f38ca86b6..084988058 100644
--- a/src/lib/exchange_api_wire.c
+++ b/src/lib/exchange_api_wire.c
@@ -261,6 +261,7 @@ handle_wire_finished (void *cls,
fbm = parse_fees (&master_pub,
fees,
&wr.details.ok.fees_len);
+ wr.details.ok.fees = fbm;
if (NULL == fbm)
{
/* bogus reply */