aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark/taler-exchange-benchmark.c
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-08 17:34:46 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-08 17:34:46 +0200
commitf50d4b0f359064c15087b9d7b8b1bba84b9e7e89 (patch)
tree3abd74c0a05eb4a6370b91d5ea90ba1630ea82e5 /src/benchmark/taler-exchange-benchmark.c
parentfeb60291b623193c312c8cc1e3f5289311134c9c (diff)
json_decref in shutdown
Diffstat (limited to 'src/benchmark/taler-exchange-benchmark.c')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c5
1 files changed, 5 insertions, 0 deletions
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);