From f50d4b0f359064c15087b9d7b8b1bba84b9e7e89 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 8 Jun 2016 17:34:46 +0200 Subject: [PATCH] json_decref in shutdown --- src/benchmark/taler-exchange-benchmark.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index dc670456b..b3fe173eb 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -680,6 +680,11 @@ do_shutdown (void *cls) } + if (NULL != sender_details) + json_decref (sender_details); + if (NULL != merchant_details) + json_decref (sender_details); + GNUNET_free_non_null (reserves); GNUNET_free_non_null (coins); GNUNET_free_non_null (spent_coins);