summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-11 17:11:38 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-11 17:11:38 +0200
commitf4b013b3d467f93482a00b208acf3a2874362fe7 (patch)
tree7c4ecd9ecef9fd4f835bc32bed5744111f0b2ba4 /src/exchange
parent6fb30ce46809a1c444b66911ea846b8a3f820ce1 (diff)
downloadexchange-f4b013b3d467f93482a00b208acf3a2874362fe7.tar.gz
exchange-f4b013b3d467f93482a00b208acf3a2874362fe7.tar.bz2
exchange-f4b013b3d467f93482a00b208acf3a2874362fe7.zip
fix leaks
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-aggregator.c5
1 files changed, 5 insertions, 0 deletions
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;
}