From 76545519c647b66ef99391b503f5d90fd4a43cb4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 5 May 2017 13:41:32 +0200 Subject: updating DB schema for new wire history operations and future auditor checks of wire transfers --- src/exchangedb/plugin_exchangedb_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/exchangedb/plugin_exchangedb_common.c') diff --git a/src/exchangedb/plugin_exchangedb_common.c b/src/exchangedb/plugin_exchangedb_common.c index fac911d68..0f7d2fe76 100644 --- a/src/exchangedb/plugin_exchangedb_common.c +++ b/src/exchangedb/plugin_exchangedb_common.c @@ -35,7 +35,7 @@ common_free_reserve_history (void *cls, struct TALER_EXCHANGEDB_Payback *payback; struct TALER_EXCHANGEDB_ReserveHistory *backref; struct TALER_EXCHANGEDB_ClosingTransfer *closing; - + while (NULL != rh) { switch(rh->type) @@ -46,6 +46,7 @@ common_free_reserve_history (void *cls, json_decref (bt->sender_account_details); if (NULL != bt->transfer_details) json_decref (bt->transfer_details); + GNUNET_free_non_null (bt->wire_reference); GNUNET_free (bt); break; case TALER_EXCHANGEDB_RO_WITHDRAW_COIN: -- cgit v1.2.3