diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_exchanges.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_exchanges.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c index f8e67054..3883d57f 100644 --- a/src/backend/taler-merchant-httpd_exchanges.c +++ b/src/backend/taler-merchant-httpd_exchanges.c @@ -937,9 +937,16 @@ TMH_EXCHANGES_done () exchange); while (NULL != (f = exchange->wire_fees_head)) { + struct TALER_EXCHANGE_WireAggregateFees *af; + GNUNET_CONTAINER_DLL_remove (exchange->wire_fees_head, exchange->wire_fees_tail, f); + while (NULL != (af = f->af)) + { + f->af = af->next; + GNUNET_free (af); + } GNUNET_free (f->wire_method); GNUNET_free (f); } |