aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_track_transfer.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-11 16:47:04 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-11 16:47:04 +0200
commit489eaecb1d8669a6827c94b2d1e9ac84bbeab2ad (patch)
treecff6e557862cbef4a3f190c44bed0dfa525fddbe /src/lib/merchant_api_track_transfer.c
parent0e8cba34585ddd76aae0803b5d1721f8dd4cc51a (diff)
fix leaks
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;
}