diff options
author | Jouni Malinen <j@w1.fi> | 2012-02-19 14:29:38 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-02-19 14:29:38 +0200 |
commit | f4b2d69b0760767f1667e801ef1c34642e21b60c (patch) | |
tree | f7822595c9198d2f2cad2aaea1ba8c06c8d584d9 | |
parent | 1485ec076b8a6234e3be813b69ece81c84c389fd (diff) | |
download | external_wpa_supplicant_8_ti-f4b2d69b0760767f1667e801ef1c34642e21b60c.zip external_wpa_supplicant_8_ti-f4b2d69b0760767f1667e801ef1c34642e21b60c.tar.gz external_wpa_supplicant_8_ti-f4b2d69b0760767f1667e801ef1c34642e21b60c.tar.bz2 |
Fix memory leak on set_cred error path
Signed-hostap: Jouni Malinen <j@w1.fi>
-rw-r--r-- | wpa_supplicant/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c index 22b00e5..7ba2df6 100644 --- a/wpa_supplicant/config.c +++ b/wpa_supplicant/config.c @@ -2276,6 +2276,8 @@ int wpa_config_set_cred(struct wpa_cred *cred, const char *var, line, var); } + os_free(val); + return -1; } |