Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105767435
D1185.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
432 B
Referenced Files
None
Subscribers
None
D1185.diff
View Options
Index: sbin/ifconfig/ifgroup.c
===================================================================
--- sbin/ifconfig/ifgroup.c
+++ sbin/ifconfig/ifgroup.c
@@ -86,9 +86,6 @@
struct ifgroupreq ifgr;
struct ifg_req *ifg;
- if (!verbose)
- return;
-
memset(&ifgr, 0, sizeof(ifgr));
strlcpy(ifgr.ifgr_name, name, IFNAMSIZ);
@@ -121,6 +118,8 @@
}
if (cnt)
printf("\n");
+
+ free(ifgr.ifgr_groups);
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 10:05 AM (17 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15540225
Default Alt Text
D1185.diff (432 B)
Attached To
Mode
D1185: ifconfig(8) unhide groups
Attached
Detach File
Event Timeline
Log In to Comment