projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b6307
)
WPS ER: Deinit WPS protocol data when freeing AP entry
author
Jouni Malinen
<j@w1.fi>
Sun, 15 Nov 2009 20:53:10 +0000
(22:53 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 15 Nov 2009 20:53:10 +0000
(22:53 +0200)
src/wps/wps_er.c
patch
|
blob
|
history
diff --git
a/src/wps/wps_er.c
b/src/wps/wps_er.c
index
b0048dd
..
86d2dff
100644
(file)
--- a/
src/wps/wps_er.c
+++ b/
src/wps/wps_er.c
@@
-242,6
+242,8
@@
static void wps_er_ap_free(struct wps_er *er, struct wps_er_ap *ap)
wps_er_ap_event(er->wps, ap, WPS_EV_ER_AP_REMOVE);
os_free(ap->location);
http_client_free(ap->http);
+ if (ap->wps)
+ wps_deinit(ap->wps);
os_free(ap->friendly_name);
os_free(ap->manufacturer);