projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d2bf2
)
mesh: Fix memory leak on error path
author
Masashi Honma
<masashi.honma@gmail.com>
Wed, 26 Aug 2015 08:32:39 +0000
(17:32 +0900)
committer
Jouni Malinen
<j@w1.fi>
Sat, 5 Sep 2015 18:31:25 +0000
(21:31 +0300)
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
wpa_supplicant/mesh_rsn.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/mesh_rsn.c
b/wpa_supplicant/mesh_rsn.c
index
9dce32f
..
747f1ae
100644
(file)
--- a/
wpa_supplicant/mesh_rsn.c
+++ b/
wpa_supplicant/mesh_rsn.c
@@
-210,6
+210,7
@@
struct mesh_rsn *mesh_rsn_auth_init(struct wpa_supplicant *wpa_s,
if (__mesh_rsn_auth_init(mesh_rsn, wpa_s->own_addr) < 0) {
mesh_rsn_deinit(mesh_rsn);
+ os_free(mesh_rsn);
return NULL;
}