aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_track_transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_track_transfer.c')
-rw-r--r--src/lib/merchant_api_track_transfer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/merchant_api_track_transfer.c b/src/lib/merchant_api_track_transfer.c
index 61d9e1f0..c356a6aa 100644
--- a/src/lib/merchant_api_track_transfer.c
+++ b/src/lib/merchant_api_track_transfer.c
@@ -132,6 +132,7 @@ parse_exchange_details_ok (struct TALER_MERCHANT_TrackTransferHandle *wdh,
NULL, NULL))
{
GNUNET_break_op (0);
+ GNUNET_JSON_parse_free (inner_spec);
return GNUNET_SYSERR;
}
}
@@ -144,6 +145,7 @@ parse_exchange_details_ok (struct TALER_MERCHANT_TrackTransferHandle *wdh,
num_details,
details);
}
+ GNUNET_JSON_parse_free (inner_spec);
return GNUNET_OK;
}
@@ -203,6 +205,7 @@ check_track_transfer_response_ok (struct TALER_MERCHANT_TrackTransferHandle *wdh
}
if (GNUNET_OK == ret)
TALER_MERCHANT_track_transfer_cancel (wdh);
+ GNUNET_JSON_parse_free (outer_spec);
return ret;
}