Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131795343
D6755.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
368 B
Referenced Files
None
Subscribers
None
D6755.diff
View Options
Index: head/lib/libc/gen/getnetgrent.c
===================================================================
--- head/lib/libc/gen/getnetgrent.c
+++ head/lib/libc/gen/getnetgrent.c
@@ -614,6 +614,8 @@
if (linep == NULL) {
free(lp->l_groupname);
free(lp);
+ if (olen > 0)
+ free(olinep);
return (NULL);
}
if (olen > 0) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 5:41 AM (10 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23610825
Default Alt Text
D6755.diff (368 B)
Attached To
Mode
D6755: Don't leak olinep if malloc() fails
Attached
Detach File
Event Timeline
Log In to Comment