aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-23 21:42:30 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-23 21:42:30 +0800
commit59e91babec86664a606a9d81f436118294ee0ca9 (patch)
treed52481b3e96bae4cc679ab22d72df4a54cf9e974 /src/lib
parentafc0acc7e16ddbc5a14e6a6a1ce7e622efb060e3 (diff)
-fix leak
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/merchant_api_reward_pickup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/merchant_api_reward_pickup.c b/src/lib/merchant_api_reward_pickup.c
index ac5f081b..61255fc4 100644
--- a/src/lib/merchant_api_reward_pickup.c
+++ b/src/lib/merchant_api_reward_pickup.c
@@ -406,8 +406,8 @@ TALER_MERCHANT_reward_pickup (
void
-TALER_MERCHANT_reward_pickup_cancel (struct
- TALER_MERCHANT_RewardPickupHandle *tp)
+TALER_MERCHANT_reward_pickup_cancel (
+ struct TALER_MERCHANT_RewardPickupHandle *tp)
{
for (unsigned int i = 0; i<tp->num_planchets; i++)
{
@@ -415,6 +415,7 @@ TALER_MERCHANT_reward_pickup_cancel (struct
struct PlanchetData *pd = &tp->planchets[i];
TALER_denom_sig_free (&pcd->sig);
+ TALER_denom_ewv_free (&pcd->exchange_vals);
TALER_denom_pub_free (&tp->planchets[i].pk.key);
if (NULL != pd->csr)
{