From f4b013b3d467f93482a00b208acf3a2874362fe7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 11 Jun 2016 17:11:38 +0200 Subject: fix leaks --- src/exchange/taler-exchange-aggregator.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/exchange') diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index 08ea8abe9..e3262962c 100644 --- a/src/exchange/taler-exchange-aggregator.c +++ b/src/exchange/taler-exchange-aggregator.c @@ -757,6 +757,7 @@ run_aggregation (void *cls) "Preparing wire transfer of %s to %s\n", amount_s, TALER_B2S (&au->merchant_pub)); + GNUNET_free (amount_s); } au->wp = wp; au->ph = wp->wire_plugin->prepare_wire_transfer (wp->wire_plugin->cls, @@ -1095,7 +1096,11 @@ main (int argc, gettext_noop ("background process that aggregates and executes wire transfers to merchants"), options, &run, NULL)) + { + GNUNET_free ((void*) argv); return 1; + } + GNUNET_free ((void*) argv); return global_ret; } -- cgit v1.2.3