artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26dfc19
)
fix memory leak in ieee80211_end_scan()
author
mestre
<mestre@openbsd.org>
Tue, 18 Sep 2018 06:36:18 +0000
(06:36 +0000)
committer
mestre
<mestre@openbsd.org>
Tue, 18 Sep 2018 06:36:18 +0000
(06:36 +0000)
OK phessler@ jsg@
sys/net80211/ieee80211_node.c
patch
|
blob
|
history
diff --git
a/sys/net80211/ieee80211_node.c
b/sys/net80211/ieee80211_node.c
index
0c6822a
..
1353eaa
100644
(file)
--- a/
sys/net80211/ieee80211_node.c
+++ b/
sys/net80211/ieee80211_node.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ieee80211_node.c,v 1.15
1 2018/09/17 02:34:16 jsg Exp $
*/
+/* $OpenBSD: ieee80211_node.c,v 1.15
2 2018/09/18 06:36:18 mestre Exp $
*/
/* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */
/*-
@@
-1376,6
+1376,7
@@
ieee80211_end_scan(struct ifnet *ifp)
IEEE80211_FC0_SUBTYPE_DEAUTH,
IEEE80211_REASON_AUTH_LEAVE) != 0) {
ic->ic_flags &= ~IEEE80211_F_BGSCAN;
+ free(arg, M_DEVBUF, sizeof(*arg));
return;
}