Page MenuHomeFreeBSD

D38993.id118548.diff
No OneTemporary

D38993.id118548.diff

diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -766,10 +766,10 @@
* Given this is either an IPv6-only socket or no INET is
* supported we will fail the send if the given destination
* address is a v4mapped address.
- *
- * XXXGL: do we leak m and control?
*/
INP_UNLOCK(inp);
+ m_freem(m);
+ m_freem(control);
return (EINVAL);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 25, 7:27 AM (20 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12743640
Default Alt Text
D38993.id118548.diff (453 B)

Event Timeline