Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109975183
D38993.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
453 B
Referenced Files
None
Subscribers
None
D38993.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 12, 11:18 PM (20 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16618700
Default Alt Text
D38993.diff (453 B)
Attached To
Mode
D38993: udp: Fix a memory leak in udp6_send()
Attached
Detach File
Event Timeline
Log In to Comment