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:
74727a7
)
P2P: Fix memory leak in UPnP service discovery request processing
author
Jouni Malinen
<jouni.malinen@atheros.com>
Wed, 13 Apr 2011 22:33:26 +0000
(
01:33
+0300)
committer
Jouni Malinen
<j@w1.fi>
Wed, 13 Apr 2011 22:33:26 +0000
(
01:33
+0300)
wpa_supplicant/p2p_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/p2p_supplicant.c
b/wpa_supplicant/p2p_supplicant.c
index
3970dc4
..
d7f7473
100644
(file)
--- a/
wpa_supplicant/p2p_supplicant.c
+++ b/
wpa_supplicant/p2p_supplicant.c
@@
-1477,6
+1477,7
@@
static void wpas_sd_req_upnp(struct wpa_supplicant *wpa_s,
break;
wpabuf_put_str(resp, usrv->service);
}
+ os_free(str);
if (count == 0) {
wpa_printf(MSG_DEBUG, "P2P: Requested UPnP service not "