diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-14 11:49:20 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-14 11:49:20 +0200 |
commit | 6a8c5209c35470ac90b1f4d79d05e28bfa42c8ef (patch) | |
tree | 3878112d77fda4a4c5ef24ce971c96788be34320 /src/wire-plugins | |
parent | 7d84a0eadfb9f16e29022f2fdef847f4e87ba719 (diff) |
fix leaks.
Diffstat (limited to 'src/wire-plugins')
-rw-r--r-- | src/wire-plugins/plugin_wire_taler-bank.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c index 37321899e..c2282bc4b 100644 --- a/src/wire-plugins/plugin_wire_taler-bank.c +++ b/src/wire-plugins/plugin_wire_taler-bank.c @@ -549,6 +549,7 @@ taler_bank_prepare_wire_transfer (void *cls, origin_account_section, "URL"); GNUNET_free (a_out.hostname); + GNUNET_free (a_out.bank_base_url); return NULL; } if (TALER_EC_NONE != @@ -561,6 +562,7 @@ taler_bank_prepare_wire_transfer (void *cls, "Malformed payto:// URL for x-taler-bank method"); GNUNET_free (origin_account_url); GNUNET_free (a_out.hostname); + GNUNET_free (a_out.bank_base_url); return NULL; } @@ -573,11 +575,15 @@ taler_bank_prepare_wire_transfer (void *cls, a_in.hostname, a_out.hostname); GNUNET_free (a_in.hostname); + GNUNET_free (a_in.bank_base_url); GNUNET_free (a_out.hostname); + GNUNET_free (a_out.bank_base_url); return NULL; } GNUNET_free (a_in.hostname); + GNUNET_free (a_in.bank_base_url); GNUNET_free (a_out.hostname); + GNUNET_free (a_out.bank_base_url); pth = GNUNET_new (struct TALER_WIRE_PrepareHandle); if (GNUNET_OK != |