memory leak fix in auth/login.c
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
parent
f827d15366
commit
3e3fa81c34
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user