diff options
-rw-r--r-- | auth/login/src/login.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/login/src/login.c b/auth/login/src/login.c index f89daa568..9b12365fc 100644 --- a/auth/login/src/login.c +++ b/auth/login/src/login.c @@ -71,6 +71,8 @@ auth_result_t gf_auth (dict_t *input_params, dict_t *config_params) 0)) { asprintf (&searchstr, "auth.login.%s.password", username); passwd_data = dict_get (config_params, searchstr); + FREE (searchstr); + if (!passwd_data) { gf_log ("auth/login", GF_LOG_DEBUG, |