diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-01 19:37:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-01 22:34:35 +0200 |
commit | 647ae694cc9f1aef44e792b96676b115231e8898 (patch) | |
tree | 2faa798d43d7ce36e013dae73a74bed0bc8cb3de /src/lib/exchange_api_wire.c | |
parent | faca037018820ba3c21724c7f6ab41a72206e4ff (diff) | |
download | exchange-647ae694cc9f1aef44e792b96676b115231e8898.tar.xz |
-fix uninitialized variable and memory leak
Diffstat (limited to 'src/lib/exchange_api_wire.c')
-rw-r--r-- | src/lib/exchange_api_wire.c | 1 |
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 */ |