mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
Fix memory leak on set_cred error path
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1485ec076b
commit
f4b2d69b07
@ -2276,6 +2276,8 @@ int wpa_config_set_cred(struct wpa_cred *cred, const char *var,
|
||||
line, var);
|
||||
}
|
||||
|
||||
os_free(val);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user