Page MenuHomeFreeBSD

D1185.diff
No OneTemporary

D1185.diff

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

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)

Event Timeline