From 18c22e3e2e97111c9e3717cfe4ac67d397b0456c Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 13 Jun 2016 23:40:00 +0200 Subject: fixing corrupted DLL (resulting from double call to json_decref()) --- src/benchmark/taler-exchange-benchmark.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/benchmark') diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index f2274e606..02b91f87a 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -167,6 +167,12 @@ struct Coin { */ unsigned int refresh; + /** + * If the coin has to be refreshed, this value indicates + * how much is left on this coin + */ + struct TALER_Amount left; + /** * Refresh melt handle */ @@ -838,6 +844,9 @@ benchmark_run (void *cls) json_decref (transfer_details); } json_decref (sender_details); + sender_details = NULL; + transfer_details = NULL; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, "benchmark_run() returns\n"); } -- cgit v1.2.3