aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-22 16:58:48 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-22 16:58:48 +0200
commit8658ae03cab72142b2376d5318e039320b02913a (patch)
tree65414422ab5fd9da5748162007e674d058418049 /src/exchangedb/plugin_exchangedb_common.c
parent4a5d71cca2297cfd98b5dd907df2fc355d0da297 (diff)
downloadexchange-8658ae03cab72142b2376d5318e039320b02913a.tar.xz
-towards purse merge and history requests in reserve history (incomplete)
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_common.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_common.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_common.c b/src/exchangedb/plugin_exchangedb_common.c
index a07ae78c1..c9ffa5b87 100644
--- a/src/exchangedb/plugin_exchangedb_common.c
+++ b/src/exchangedb/plugin_exchangedb_common.c
@@ -71,6 +71,20 @@ common_free_reserve_history (void *cls,
GNUNET_free (closing);
break;
}
+ case TALER_EXCHANGEDB_RO_PURSE_MERGE:
+ {
+ struct TALER_EXCHANGEDB_PurseMerge *merge;
+
+ merge = rh->details.merge;
+ GNUNET_free (merge);
+ }
+ case TALER_EXCHANGEDB_RO_HISTORY_REQUEST:
+ {
+ struct TALER_EXCHANGEDB_HistoryRequest *history;
+
+ history = rh->details.history;
+ GNUNET_free (history);
+ }
}
{
struct TALER_EXCHANGEDB_ReserveHistory *next;