diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-25 14:51:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-25 14:51:31 +0100 |
commit | 85aa6d17c727a5899490aa82b0ece9ac95972c66 (patch) | |
tree | 166a80ac1f86a7732b8d502f2b9070b4d57e33f7 /src/wire-plugins | |
parent | 5052698cbc6692c922e75081af12ad24bf8c3e69 (diff) |
fix misc. memory leaks
Diffstat (limited to 'src/wire-plugins')
-rw-r--r-- | src/wire-plugins/plugin_wire_taler-bank.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c index 029380fb4..6075b25a0 100644 --- a/src/wire-plugins/plugin_wire_taler-bank.c +++ b/src/wire-plugins/plugin_wire_taler-bank.c @@ -280,7 +280,7 @@ parse_payto (const char *account_url, "%llu", &port)) { - GNUNET_break (0); + GNUNET_break (0); TALER_LOG_ERROR ("Malformed host from payto:// URI\n"); GNUNET_free (r_account->hostname); return TALER_EC_PAYTO_MALFORMED; @@ -300,7 +300,7 @@ parse_payto (const char *account_url, (GNUNET_SYSERR != GNUNET_asprintf (&r_account->bank_base_url, "https://%s", - r_account->hostname)); + r_account->hostname)); } } return TALER_EC_NONE; @@ -578,6 +578,7 @@ taler_bank_prepare_wire_transfer (void *cls, GNUNET_free (a_in.bank_base_url); GNUNET_free (a_out.hostname); GNUNET_free (a_out.bank_base_url); + GNUNET_free (origin_account_url); return NULL; } GNUNET_free (a_in.hostname); @@ -592,6 +593,7 @@ taler_bank_prepare_wire_transfer (void *cls, &pth->auth)) { GNUNET_free (pth); + GNUNET_free (origin_account_url); return NULL; } |