commit f76d0a617bfba8b4db174c103704dd45784258a8
parent 97fa63950133be7c2aa27d5482167b3397d7da0b
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sat, 18 Jul 2026 12:04:58 +0200
-fix leak
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bank-lib/bank_api_parse.c b/src/bank-lib/bank_api_parse.c
@@ -107,6 +107,7 @@ TALER_BANK_auth_parse_cfg (const struct GNUNET_CONFIGURATION_Handle *cfg,
TALER_BANK_auth_free (auth);
return GNUNET_SYSERR;
}
+ auth->method = TALER_BANK_AUTH_BASIC;
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (
cfg,
@@ -121,7 +122,6 @@ TALER_BANK_auth_parse_cfg (const struct GNUNET_CONFIGURATION_Handle *cfg,
TALER_BANK_auth_free (auth);
return GNUNET_SYSERR;
}
- auth->method = TALER_BANK_AUTH_BASIC;
GNUNET_free (method);
return GNUNET_OK;
case TALER_BANK_AUTH_BEARER: