aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-05-05 13:41:32 +0200
committerChristian Grothoff <christian@grothoff.org>2017-05-05 13:41:32 +0200
commit76545519c647b66ef99391b503f5d90fd4a43cb4 (patch)
treecf7fcda13826c5b00dc4e593ab25bf155792be80 /src/exchangedb/plugin_exchangedb_common.c
parent2c05a4b278096a9f222a472c0f022c66ad367059 (diff)
updating DB schema for new wire history operations and future auditor checks of wire transfers
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_common.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_common.c3
1 files changed, 2 insertions, 1 deletions
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: