summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 18:22:10 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 18:22:10 +0100
commit53c21c441b929c67239f2f5482d5c1df20435af4 (patch)
tree9a6349d03ecac470266bbc691d56669aab40650b /src/exchange
parentd58af138874914569a3192e10a7b2d9aaa21dbe5 (diff)
downloadexchange-53c21c441b929c67239f2f5482d5c1df20435af4.tar.gz
exchange-53c21c441b929c67239f2f5482d5c1df20435af4.tar.bz2
exchange-53c21c441b929c67239f2f5482d5c1df20435af4.zip
fix leak
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_refund.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c
index dd701ebdc..74bfedda0 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -317,6 +317,8 @@ refund_transaction (void *cls,
&dep->deposit_fee)) )
{
GNUNET_break_op (0); /* currency missmatch */
+ TEH_plugin->free_coin_transaction_list (TEH_plugin->cls,
+ tl);
*mhd_ret = reply_refund_failure (connection,
MHD_HTTP_PRECONDITION_FAILED,
TALER_EC_REFUND_CURRENCY_MISSMATCH);