aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_reserves_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exchange_api_reserves_history.c')
-rw-r--r--src/lib/exchange_api_reserves_history.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/exchange_api_reserves_history.c b/src/lib/exchange_api_reserves_history.c
index a48e0c087..d4366eb37 100644
--- a/src/lib/exchange_api_reserves_history.c
+++ b/src/lib/exchange_api_reserves_history.c
@@ -141,8 +141,8 @@ handle_reserves_history_ok (struct TALER_EXCHANGE_ReservesHistoryHandle *rsh,
rhistory))
{
GNUNET_break_op (0);
- TALER_EXCHANGE_free_reserve_history (rhistory,
- len);
+ TALER_EXCHANGE_free_reserve_history (len,
+ rhistory);
return GNUNET_SYSERR;
}
if (NULL != rsh->cb)
@@ -153,8 +153,8 @@ handle_reserves_history_ok (struct TALER_EXCHANGE_ReservesHistoryHandle *rsh,
&rs);
rsh->cb = NULL;
}
- TALER_EXCHANGE_free_reserve_history (rhistory,
- len);
+ TALER_EXCHANGE_free_reserve_history (len,
+ rhistory);
}
return GNUNET_OK;
}